forked from Imagelibrary/rtems
Worksheets now generated from a common file and the node info structure
is generated automatically.
This commit is contained in:
@@ -21,9 +21,13 @@ dirs:
|
||||
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
|
||||
../../common/timing.texi
|
||||
|
||||
GENERATED_FILES= \
|
||||
wksheets.texi
|
||||
|
||||
FILES= $(PROJECT).texi \
|
||||
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
|
||||
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi wksheets.texi
|
||||
intr.texi memmodel.texi preface.texi timetbl.texi timedata.texi \
|
||||
$(GENERATED_FILES)
|
||||
|
||||
info: dirs c_hppa1_1
|
||||
cp c_$(PROJECT) $(INFO_INSTALL)
|
||||
@@ -43,6 +47,10 @@ $(PROJECT).dvi: $(FILES)
|
||||
|
||||
replace: timedata.texi
|
||||
|
||||
#
|
||||
# Chapters which get automatic processing
|
||||
#
|
||||
|
||||
intr.texi: intr.t TIMES
|
||||
${REPLACE} -p TIMES intr.t
|
||||
mv intr.t.fixed intr.texi
|
||||
@@ -59,14 +67,22 @@ timedata.texi: timedata.t TIMES
|
||||
${REPLACE} -p TIMES timedata.t
|
||||
mv timedata.t.fixed timedata.texi
|
||||
|
||||
wksheets.t: ../../common/wksheets.t
|
||||
sed -e 's/WORKSHEETS_PREVIOUS_LINK/Processor Dependent Information Table CPU Dependent Information Table/' \
|
||||
-e 's/WORKSHEETS_NEXT_LINK/HP-7100 Timing Data/' \
|
||||
<../../common/wksheets.t >wksheets.t
|
||||
# Worksheets Chapter:
|
||||
# 1. Obtain the Shared File
|
||||
# 2. Replace Times and Sizes
|
||||
# 3. Build Node Structure
|
||||
|
||||
wksheets.texi: wksheets.t TIMES
|
||||
${REPLACE} -p TIMES wksheets.t
|
||||
mv wksheets.t.fixed wksheets.texi
|
||||
wksheets_NOTIMES.t: ../../common/wksheets.t
|
||||
cp ../../common/wksheets.t wksheets_NOTIMES.t
|
||||
|
||||
wksheets.t: wksheets_NOTIMES.t TIMES
|
||||
${REPLACE} -p TIMES wksheets_NOTIMES.t
|
||||
mv wksheets_NOTIMES.t.fixed wksheets.t
|
||||
|
||||
wksheets.texi: wksheets.t Makefile
|
||||
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
|
||||
-u "Top" \
|
||||
-n "HP-7100 Timing Data" ${*}.t
|
||||
|
||||
html: dirs $(FILES)
|
||||
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
|
||||
@@ -78,7 +94,7 @@ clean:
|
||||
rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
|
||||
rm -f $(PROJECT) $(PROJECT)-*
|
||||
rm -f c_hppa1_1 c_hppa1_1-*
|
||||
rm -f timedata.texi timetbl.texi intr.texi wksheets.texi
|
||||
rm -f timetbl.t wksheets.t
|
||||
rm -f timedata.texi timetbl.texi timetbl.t intr.texi
|
||||
rm -f wksheets.t wksheets_NOTIMES.t $(GENERATED_FILES)
|
||||
rm -f *.fixed _*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user