diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-19 15:06:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-10-19 15:06:22 +0000 |
commit | c59eb6164db444747d6f3723dea2232b833c6f5c (patch) | |
tree | 0986eaf587b66b734b4756b1dcc431739e56699e /doc/supplements/m68k | |
parent | Added chapter. (diff) | |
download | rtems-c59eb6164db444747d6f3723dea2232b833c6f5c.tar.bz2 |
Worksheets now generated from a common file and the node info structure
is generated automatically.
Diffstat (limited to 'doc/supplements/m68k')
-rw-r--r-- | doc/supplements/m68k/Makefile | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/doc/supplements/m68k/Makefile b/doc/supplements/m68k/Makefile index bca8ad96e5..ff5f75a44f 100644 --- a/doc/supplements/m68k/Makefile +++ b/doc/supplements/m68k/Makefile @@ -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_m68k cp c_$(PROJECT) c_$(PROJECT)-* $(INFO_INSTALL) @@ -43,13 +47,17 @@ $(PROJECT).dvi: $(FILES) replace: timedata.texi +# +# Chapters which get automatic processing +# + intr.texi: intr.t MVME136_TIMES ${REPLACE} -p MVME136_TIMES intr.t mv intr.t.fixed intr.texi timetbl.t: ../../common/timetbl.t sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \ - <../../common/timetbl.t >timetbl.t + <../../common/timetbl.t >timetbl.t timetbl.texi: timetbl.t MVME136_TIMES ${REPLACE} -p MVME136_TIMES timetbl.t @@ -59,14 +67,22 @@ timedata.texi: timedata.t MVME136_TIMES ${REPLACE} -p MVME136_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/MVME136 Timing Data/' \ - <../../common/wksheets.t >wksheets.t +# Worksheets Chapter: +# 1. Obtain the Shared File +# 2. Replace Times and Sizes +# 3. Build Node Structure + +wksheets_NOTIMES.t: ../../common/wksheets.t + cp ../../common/wksheets.t wksheets_NOTIMES.t + +wksheets.t: wksheets_NOTIMES.t MVME136_TIMES + ${REPLACE} -p MVME136_TIMES wksheets_NOTIMES.t + mv wksheets_NOTIMES.t.fixed wksheets.t -wksheets.texi: wksheets.t MVME136_TIMES - ${REPLACE} -p MVME136_TIMES wksheets.t - mv wksheets.t.fixed wksheets.texi +wksheets.texi: wksheets.t Makefile + $(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \ + -u "Top" \ + -n "MVME136 Timing Data" ${*}.t html: dirs $(FILES) -mkdir -p $(WWW_INSTALL)/c_m68k @@ -78,6 +94,6 @@ clean: rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE) rm -f $(PROJECT) $(PROJECT)-* rm -f c_m68k c_m68k-* - rm -f timedata.texi timetbl.texi intr.texi wksheets.texi - rm -f timetbl.t wksheets.t + rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES) + rm -f timetbl.t wksheets.t wksheets_NOTIMES.t rm -f *.fixed _* |