1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
#
# This is the Makefile for ET documentation. If its name is Makefile.in,
# then it is a template for the makefile and must first be processed using the
# "configure" script
#
#
# Flags for the C compiler
#
CFLAGS = -O
CC = @CC@
all: ET.txt ET.html ET0000.html ET.rtf ET.tex ET.ps ET.docbook
ET.txt: ET.doc doc2ascii
./doc2ascii ET.doc >ET.txt
ET.html: ET.doc doc2html
./doc2html -flat ET.doc >ET.html
ET0000.html: ET.doc doc2html
./doc2html -noscope ET.doc
ET.rtf: ET.html html2rtf
./html2rtf ET.html >ET.rtf
ET.tex: ET.doc doc2latex
./doc2latex ET.doc >ET.tex
ET.ps: ET.tex outer.tex psbox.tex
-yes "" | latex outer
-yes "" | latex outer
dvips -o ET.ps outer.dvi
# mv outer.ps ET.ps
ET.docbook: ET.doc doc2docbook
./doc2docbook ET.doc >ET.docbook
doc2latex: doc2latex.c
${CC} ${CFLAGS} doc2latex.c -o $@
doc2html: doc2html.c
${CC} ${CFLAGS} doc2html.c -o $@
doc2ascii: doc2ascii.c
${CC} ${CFLAGS} doc2ascii.c -o $@
doc2docbook: doc2docbook.c
${CC} ${CFLAGS} doc2docbook.c -o $@
html2rtf: html2rtf.c
${CC} ${CFLAGS} html2rtf.c -o $@
clean:
rm -f *.a *.o et.c core errs *~ \#* TAGS *.E a.out errors \
doc2ascii doc2html doc2docbook doc2latex html2rtf \
ET????.html ET.html ET.ps *.dvi *.aux doc.tex ET.docbook \
ET.txt ET.rtf ET.tex *.log
distclean: clean
rm -f Makefile config.status config.cache config.log prototype
|