Changeset bfb256 in git for doc/Makefile.in
- Timestamp:
- Jun 9, 1998, 5:18:19 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 74a961099955876c693f932fca932f844cdcac69
- Parents:
- 7885aa876c9efd1d5f54f1c2a486483b635e15c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/Makefile.in
r7885aa8 rbfb256 27 27 TEX = tex 28 28 MAKEINFO = makeinfo 29 TEXI2DVI = texi2dvi 29 30 TEXINDEX = texindex 30 31 DVIPS = dvips … … 34 35 ## End configuration dependend stuff 35 36 ################################################################# 36 #37 # examples, general, math, reference,38 # singular, start, types39 #SINGULAR_OBJS= copyright.tex proc.tex40 TEX_FILES = copyright.tex # proc.tex41 SINGULAR_OBJS= examples.tex general.tex math.tex reference.tex \42 singular.tex start.tex types.tex pdata.tex43 37 44 all: info dvi 38 # files 39 TEX_FILES = copyright.tex 40 DOC2TEX_FILES = \ 41 examples.tex general.tex math.tex reference.tex \ 42 singular.tex start.tex types.tex pdata.tex 45 43 44 MANUAL_FILES = ${TEX_FILES} ${DOC2TEX_FILES} 45 TUTOR_FILES = \ 46 tutor.tex examples.tex start.tex proc.tex copyright.tex 47 48 # default target 49 all: info dvi html 50 51 # info stuff 46 52 info: singular.hlp 47 53 48 singular.hlp: ${ SINGULAR_OBJS} ${TEX_FILES} Makefile54 singular.hlp: ${MANUAL_FILES} 49 55 - ${MAKEINFO} --no-split singular.tex 50 56 51 html: ${SINGULAR_OBJS} ${TEX_FILES} Makefile 52 if [ ! -d html ]; then 53 mkdir html 54 fi 55 (cd html; \ 56 ../texi2html -I .. -menu -expandinfo -number -split_chapter -verbose ../singular.tex;\ 57 ) 58 touch html-done 59 57 # dvi stuff 60 58 dvi: singular.dvi tutor.dvi usercard.dvi 61 59 62 ps: dvi 63 ${DVIPS} singular.dvi -o 64 ${DVIPS} tutor.dvi -o 65 ${DVIPS} usercard.dvi -o 60 singular.dvi: ${MANUAL_FILES} 61 ${TEXI2DVI} singular.tex 66 62 67 singular.dvi: ${SINGULAR_OBJS} ${TEX_FILES} Makefile 68 ${TEX} singular.tex 69 ${TEX} singular.tex 70 ${TEXINDEX} singular.?? 71 ${TEX} singular.tex 72 73 tutor.dvi: tutor.tex examples.tex start.tex proc.tex copyright.tex 74 ${TEX} tutor.tex 75 ${TEX} tutor.tex 76 ${TEXINDEX} tutor.?? 77 ${TEX} tutor.tex 63 tutor.dvi: ${TUTOR_FILES} 64 ${TEXI2DVI} tutor.tex 78 65 79 66 usercard.dvi: usercard.tex singcard.tex 80 67 ${TEX} $< 81 68 69 # postscript stuff 70 ps: singular.ps tutor.ps usercard.ps 71 72 usercard.ps: usercard.dvi 73 ${DVIPS} -t landscape $< -o $@ 74 75 %.ps: %.dvi 76 ${DVIPS} $< -o $@ 77 78 # html stuff 79 html: ${MANUAL_FILES} 80 test -d html || mkdir html 81 cd html && ../texi2html -I .. -menu -expandinfo -number -split_node -verbose ../singular.tex 82 83 # how to create the texinfo files 84 %.tex: %.doc doc2tex ${SINGULAR} 85 @ echo 86 @ echo "Be sure Singular is up-to-date before making the examples!" 87 @ echo 88 ./doc2tex ${SINGULAR} $* 89 - grep "error occurred" $@ 90 91 doc2tex: doc2tex.c 92 $(CC) doc2tex.c -o doc2tex 93 94 # targets concerned with maintenance 82 95 install: 83 96 ${MKINSTALLDIRS} ${infodir} … … 89 102 90 103 clean: 91 /bin/rm -f Z* doc2tex example.* save_i *~ *.tst manual.lst doe core 92 /bin/rm -f singular.?? singular.??s singular.aux singular.log singular.toc 93 /bin/rm -f tutor.?? tutor.??s tutor.aux tutor.log tutor.toc *.lst 94 /bin/rm -f doe* singular.info 104 /bin/rm -f .singular_hist doe.tmp dump.ascii example.mp example.txt 105 /bin/rm -f save_i test.ascii test.mp 106 /bin/rm -f Z* *.tst *.pag *.dir *.lst *.log *.aux *.cp *.cps 107 /bin/rm -f *.fn *.fns *.ky *.kys *.log *.pg *.pgs *.toc *.tp 108 /bin/rm -f *.tps *.vr *.vrs 109 /bin/rm -f doc2tex singular.hlp *.dvi *.ps ${DOC2TEX_FILES} 110 /bin/rm -rf html 95 111 96 112 mostlyclean: clean 97 113 98 distclean: clean99 /bin/rm -f Makefile *.ps114 distclean: mostlyclean 115 /bin/rm -f Makefile 100 116 101 117 maintainer-clean: distclean 102 @echo "This command is intended for maintainers to use;"103 @echo "Rebuilding the deleted files requires makeinfo, tex and texindex"104 /bin/rm -f *.dvi singular.hlp configure ${SINGULAR_OBJS}105 118 106 %.tex: %.doc doc2tex ${SINGULAR} 107 ./doc2tex ${SINGULAR} $* 108 -grep "error occurred" $@ 109 110 doc2tex: doc2tex.c 111 $(CC) doc2tex.c -o doc2tex 112 113 ${SINGULAR}: 114 cd ..; ${MAKE} ${SINGULAR} 119 ${SINGULAR}: 120 # cd ..; ${MAKE} ${SINGULAR} 115 121 116 122 Makefile: Makefile.in 117 cd ..; ${MAKE} Makefile 118 119 #examples.tex: examples.doc 120 #general.tex: general.doc 121 #math.tex: math.doc 122 #reference.tex: reference.doc 123 #singular.tex: singular.doc 124 #start.tex: start.doc 125 #types.tex: types.doc 126 #pdata.tex: pdata.doc 123 cd ..; ${MAKE} doc/Makefile
Note: See TracChangeset
for help on using the changeset viewer.