source: git/doc/Makefile.in @ b66131

fieker-DuValspielwiese
Last change on this file since b66131 was 0c7e78, checked in by Oliver Wienand <wienand@…>, 16 years ago
Dokumention unter Windows bauen git-svn-id: file:///usr/local/Singular/svn/trunk@10765 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 16.3 KB
Line 
1#####################################################################
2###
3### Makefile for Singular documentation
4### $Id: Makefile.in,v 1.103 2008-06-18 14:48:56 wienand Exp $
5#####################################################################
6SHELL=/bin/sh
7
8####################################################################
9##
10## Configuration
11##
12SINGUNAME       = @SINGUNAME@
13S_VERSION       = $${SINGULAR_VERSION-@SINGULAR_VERSION@}
14
15## directory where info files are installed
16prefix          = @prefix@
17infodir         = ${prefix}/info
18bindir          = @bindir@
19htmldir         = ${prefix}/html
20exdir           = ${prefix}/examples
21
22localdir        = /usr/local
23install_prefix  = ${localdir}/Singular/${S_VERSION}
24install_infodir = ${install_prefix}/info
25install_htmldir = ${install_prefix}/html
26install_docdir  = ${install_prefix}/doc
27install_exdir   = ${install_prefix}/examples
28
29# directory where files for ftp site go
30ftpdir          = /tmp
31
32##
33## needed programs
34##
35@SET_MAKE@
36LN_S            = @LN_S@
37CC              = @CC@
38INSTALL         = ../install-sh -c
39INSTALL_PROGRAM = ${INSTALL}
40INSTALL_DATA    = ${INSTALL} -m 644
41MKINSTALLDIRS   = ../mkinstalldirs
42GZIP            = @MYGZIP@
43UUDECODE        = @UUDECODE@
44
45PERL            = @PERL@
46TEX             = tex
47MAKEINFO        = @MAKEINFO@ --force
48TEXI2DVI        = @TEXI2DVI@
49TEXI2PDF        = @TEXI2PDF@
50TEXINDEX        = @TEXINDEX@
51# use our local texi2html
52TEXI2HTML       = ./texi2html
53DVIPS           = dvips
54
55VERBOSE         = 1 # override this with make VERBOSE=2
56
57# d2t stuff
58SINGULAR        = @SINGULAR@
59SINGULAR_LIB_DIR= ../Singular/LIB
60ifeq ($(SINGUNAME),"ix86-Win")
61LIBPARSE        = ${bindir}/libparse.exe
62else
63LIBPARSE        = ${bindir}/libparse
64endif
65DOC_SUBDIR      = ./d2t_singular
66EX_SUBDIR       = ./examples
67CHKSUM_DB       = ${DOC_SUBDIR}/chksum
68DOC2TEX         = ${PERL} ./doc2tex.pl -docdir ${DOC_SUBDIR} \
69                  -Singular ${SINGULAR} -verbose ${VERBOSE} -make ${MAKE} \
70                  -exdir ${EX_SUBDIR} @DOC2TEX_EXAMPLE_EXCLUSIONS@
71PL2DOC          = ${PERL} ./pl2doc.pl -db ${CHKSUM_DB}
72
73# t2h stuff
74TMP_DIR         = @TMP_DIR@
75HTML_SUBDIR     = html
76PLU_HTML_SUBDIR = pluhtml
77TEXI2HTML_INIT  = t2h_singular.init
78ifeq ($(VERBOSE),0)
79T2H_VERBOSE     =
80else
81T2H_VERBOSE     = -Verbose
82endif
83TEXI2HTML_OPTS  = -init_file ${TEXI2HTML_INIT} @TEXI2HTML_OPTS@ \
84                  -short_ext -l2h_tmp ${TMP_DIR} -subdir ${HTML_SUBDIR} \
85                  ${T2H_VERBOSE}
86PLU_TEXI2HTML_OPTS  = -init_file ${TEXI2HTML_INIT} @TEXI2HTML_OPTS@ \
87                  -short_ext -l2h_tmp ${TMP_DIR} -subdir ${PLU_HTML_SUBDIR} \
88                  ${T2H_VERBOSE}
89HTML_MANUAL_PREFIX = sing
90PLU_HTML_MANUAL_PREFIX = sing
91HTML_TUTOR_PREFIX  = tut
92HTML_MANUAL_TOP    = index.htm
93HTML_TUTOR_TOP     = tutor.htm
94##
95## End configuration dependend stuff
96#################################################################
97
98###########################################################
99# File sets
100#
101STANDALONE_TEXI_FILES   = COPYING.texi INSTALL_unix.texi NEWS.texi \
102                          README_download.texi README_ftp.texi \
103                          README_distribution.texi README_src.texi \
104                          INSTALL_win.texi
105
106PLU_STANDALONE_TEXI_FILES = COPYING.plural.texi INSTALL_unix.plural.texi \
107                            NEWS.plural.texi README_download.plural.texi \
108                            INSTALL_win.plural.texi
109
110PLU_ONLY_FILES          = pluplatform.tex
111
112PLU_DOC2TEX_FILES       = \
113                plural.tex plumath.tex plureference.tex plutypes.tex pluconventions.tex
114
115DOC2TEX_FILES   = \
116                examples.tex general.tex ti_ip.tex math.tex reference.tex \
117                start.tex types.tex pdata.tex tricks.tex platform.tex \
118                ${PLU_DOC2TEX_FILES}
119
120PLU_MANUAL_FILES = ${PLU_DOC2TEX_FILES} ${PLU_ONLY_FILES}
121
122MANUAL_FILES    = ${TEX_FILES} ${DOC2TEX_FILES} ${PLU_MANUAL_FILES}
123
124TUTOR_FILES     = \
125                tutor.tex examples.tex start.tex COPYING.texi
126
127IMAGES_UU       := $(wildcard images/*.uu)
128IMAGES     := $(IMAGES_UU:images/%.uu=%)
129IMAGES_SRC := $(IMAGES:%=images/%)
130IMAGES_HTML := $(IMAGES:%=${HTML_SUBDIR}/%)
131PLU_IMAGES_HTML := $(IMAGES:%=${PLU_HTML_SUBDIR}/%)
132
133# prepend bindir to path so that programs from there are taken first
134export PATH := "${bindir}:${PATH}"
135
136###########################################################
137# top targets
138#
139
140.PHONY: info dvi ps html
141
142# default target
143all: info dvi html singular.idx
144
145# info stuff
146info: singular.hlp
147
148singular.hlp: ${MANUAL_FILES} singular.tex s-plural.tex
149        - ${MAKEINFO} --no-split singular.tex
150
151plural.hlp:  ${PLU_MANUAL_FILES} p-pluralmain.tex
152        - ${MAKEINFO} --no-split -o plural.hlp p-pluralmain.tex
153
154# dvi stuff
155dvi: manual.dvi usercard.dvi
156
157s-plural.tex: plural.tex ${PLU_MANUAL_FILES}
158        for PFILE in ${PLU_MANUAL_FILES};\
159        do \
160                sed 's/@value{PSUFFIX}/(plural)/g' < $${PFILE}  >s-$${PFILE};\
161        done
162        sed -e 's/@include plu/@include s-plu/' -e 's/@value{PSUFFIX}/(plural)/g' < plural.tex >s-plural.tex
163
164p-pluralmain.tex: plural.tex pluralmain.tex ${PLU_MANUAL_FILES}
165        for PFILE in ${PLU_MANUAL_FILES};\
166        do \
167                sed -e 's/@value{PSUFFIX}//g' -e 's/@include plu/@include p-plu/' < $${PFILE}  >p-$${PFILE};\
168        done
169        sed -e 's/@include plu/@include p-plu/' -e 's/@value{PSUFFIX}//g' < pluralmain.tex >p-pluralmain.tex
170
171singular.dvi: ${MANUAL_FILES} singular.tex s-plural.tex
172        ${TEXI2DVI} singular.tex
173
174singular.pdf: ${MANUAL_FILES} singular.tex s-plural.tex
175        ${TEXI2PDF} singular.tex
176
177plural.dvi: ${PLU_MANUAL_FILES} p-pluralmain.tex
178        ${TEXI2DVI} p-pluralmain.tex; mv p-pluralmain.dvi plural.dvi
179
180plural.pdf: ${PLU_MANUAL_FILES} p-pluralmain.tex
181        ${TEXI2PDF} p-pluralmain.tex; mv p-pluralmain.pdf plural.pdf
182
183manual.dvi: ${MANUAL_FILES} manual.tex s-plural.tex
184        ${TEXI2DVI} manual.tex
185
186tutor.dvi: ${TUTOR_FILES}
187        ${TEXI2DVI} tutor.tex
188
189tutor.pdf: ${TUTOR_FILES}
190        ${TEXI2PDF} tutor.tex
191
192usercard.dvi: usercard.tex singcard.tex
193        ${TEX} $<
194
195# postscript stuff
196ps: dvi manual.ps usercard.ps
197
198usercard.ps: usercard.dvi
199        ${DVIPS} -t landscape -t a4 $< -o $@
200
201%.ps: %.dvi
202        ${DVIPS} $< -o $@
203
204###########################################################
205# texinfo targets
206#
207manual.tex:  ${MANUAL_FILES} doc2tex.pl ${SINGULAR} singular.doc $(STANDALONE_TEXI_FILES)
208        ${DOC2TEX} -no_fun -o manual.tex singular.doc
209
210singular.tex: ${MANUAL_FILES} doc2tex.pl ${LIB_TEX_FILES} ${SINGULAR} ${LIBPARSE} singular.doc $(STANDALONE_TEXI_FILES) ${PLU_MANUAL_FILES}
211        ${DOC2TEX} -o singular.tex singular.doc
212
213pluralmain.tex: ${PLU_MANUAL_FILES} doc2tex.pl ${PLU_LIB_TEX_FILES} ${SINGULAR} ${LIBPARSE} pluralmain.doc $(PLU_STANDALONE_TEXI_FILES)
214        ${DOC2TEX} -o pluralmain.tex pluralmain.doc
215
216#pattern rule for tex files
217%_noEx.tex : %.doc doc2tex.pl ${SINGULAR}
218        ${DOC2TEX} -o $@ -no_ex $<
219
220%.tex: %.doc doc2tex.pl ${SINGULAR}
221        ${DOC2TEX} -o $@ $<
222
223# pattern rules for lib docus
224${DOC_SUBDIR}/%_lib.pl : ${SINGULAR_LIB_DIR}/%.lib ${LIBPARSE}
225        test -d ${DOC_SUBDIR} || mkdir ${DOC_SUBDIR}
226        ${LIBPARSE} -i $< > $@
227
228%_noFun.doc : %.pl pl2doc.pl
229        ${PL2DOC}  -no_fun -o $@  $<
230
231%.doc : %.pl pl2doc.pl
232        ${PL2DOC} -o $@ $<
233
234# do not delete intermediate .pl and .doc files
235.PRECIOUS: %.doc %_noFun.doc ${DOC_SUBDIR}/%_lib.pl
236
237# index file for help
238singular.idx: singular.hlp ${HTML_SUBDIR}/${HTML_MANUAL_PREFIX}_cp.idx doc2idx.pl
239        ${PERL} doc2idx.pl singular.hlp ${HTML_SUBDIR}/${HTML_MANUAL_PREFIX}_cp.idx ${CHKSUM_DB} > singular.idx
240
241plural.idx: plural.hlp ${PLU_HTML_SUBDIR}/${PLU_HTML_MANUAL_PREFIX}_cp.idx doc2idx.pl
242        ${PERL} doc2idx.pl plural.hlp ${PLU_HTML_SUBDIR}/${PLU_HTML_MANUAL_PREFIX}_cp.idx ${CHKSUM_DB} > plural.idx
243
244###########################################################
245# stand-alone targest
246#
247
248STANDALONE_TXT_FILES := $(STANDALONE_TEXI_FILES:.texi=.txt)
249STANDALONE_HTML_FILES := $(STANDALONE_TEXI_FILES:.texi=.html)
250STANDALONE_FILES      := $(STANDALONE_TEXI_FILES:.texi=)
251
252PLU_STANDALONE_TXT_FILES := $(PLU_STANDALONE_TEXI_FILES:.texi=.txt)
253PLU_STANDALONE_HTML_FILES := $(PLU_STANDALONE_TEXI_FILES:.texi=.html)
254PLU_STANDALONE_FILES      := $(PLU_STANDALONE_TEXI_FILES:.texi=)
255
256ifeq ($(SINGUNAME),@SINGUNAME@)
257UNAME_OPT = -D UNAME
258endif
259
260# targets which produce stand-alone documents
261%.${SINGUNAME}.txt : %.texi
262        ${MAKEINFO} $(UNAME_OPT) --no-header --paragraph-indent none  -o $@ $<
263
264%.txt :  %.texi
265        ${MAKEINFO} --no-header --paragraph-indent none -o $@ $<
266
267%.${SINGUNAME}.html : %.texi
268        ${PERL} ${TEXI2HTML} $(UNAME_OPT) -init_file t2h_standalone.init -split none -out_file $@ $<
269
270%.html : %.texi
271        ${PERL} ${TEXI2HTML} -init_file t2h_standalone.init -split none -out_file $@ $<
272
273% : %.txt
274        cp $< $@
275
276standalone: standalone-txt standalone-html ${STANDALONE_FILES}
277
278standalone-html: ${STANDALONE_HTML_FILES}
279standalone-txt:  ${STANDALONE_TXT_FILES}
280
281standalone-plural: standalone-txt-plural standalone-html-plural ${PLU_STANDALONE_FILES}
282
283standalone-html-plural: ${PLU_STANDALONE_HTML_FILES}
284standalone-txt-plural:  ${PLU_STANDALONE_TXT_FILES}
285
286
287WWW_DIR = /singular/www/2-0/
288FTP_DIR = /ftp/pub/Math/Singular/Development
289
290install-standalone: standalone
291        cp INSTALL_unix.html COPYING.html INSTALL_win.html ${WWW_DIR}
292        cp COPYING COPYING.html ${FTP_DIR}
293        cp INSTALL_unix INSTALL_unix.html ${FTP_DIR}
294        cp INSTALL_win INSTALL_win.html ${FTP_DIR}
295        cp README_ftp.html ${FTP_DIR}/README.html
296        cp README_ftp ${FTP_DIR}/README
297        cp NEWS.html NEWS ${FTP_DIR}
298        cp NEWS.html ${WWW_DIR}
299        - chmod g+w ${FTP_DIR}/*
300
301
302
303###########################################################
304# html targets
305#
306html: ${TMP_DIR} ${HTML_SUBDIR}/${HTML_MANUAL_TOP} ${IMAGES_HTML} $(STANDALONE_TEXI_FILES)
307${HTML_SUBDIR}/${HTML_MANUAL_TOP}: ${TEXI2HTML_INIT} ${TEXI2HTML} singular.tex s-plural.tex
308        ${PERL} ${TEXI2HTML} ${TEXI2HTML_OPTS} -prefix ${HTML_MANUAL_PREFIX} \
309        -top_file ${HTML_MANUAL_TOP} singular.tex
310
311plu_html: pluralmain.tex ${PLU_MANUAL_FILES} ${TMP_DIR} ${PLU_HTML_SUBDIR}/${HTML_MANUAL_TOP} ${PLU_IMAGES_HTML} $(PLU_STANDALONE_TEXI_FILES)
312${PLU_HTML_SUBDIR}/${HTML_MANUAL_TOP}: ${TEXI2HTML_INIT} ${TEXI2HTML} plural.tex
313        ${PERL} ${TEXI2HTML} ${PLU_TEXI2HTML_OPTS} -prefix ${PLU_HTML_MANUAL_PREFIX} \
314        -top_file ${HTML_MANUAL_TOP} pluralmain.tex
315
316# html stuff
317html_tutor: ${TMP_DIR} ${HTML_SUBDIR}/${HTML_TUTOR_TOP} ${IMAGES_HTML}
318${HTML_SUBDIR}/${HTML_TUTOR_TOP}: ${TEXI2HTML_INIT} ${TEXI2HTML} tutor.tex
319        ${PERL} ${TEXI2HTML} ${TEXI2HTML_OPTS} -prefix ${HTML_TUTOR_PREFIX} \
320        -top_file ${HTML_TUTOR_TOP} tutor.tex
321
322${HTML_SUBDIR}/${HTML_MANUAL_PREFIX}_cp.idx: ${HTML_SUBDIR}/${HTML_MANUAL_TOP}
323
324${PLU_HTML_SUBDIR}/${HTML_MANUAL_PREFIX}_cp.idx: ${PLU_HTML_SUBDIR}/${HTML_MANUAL_TOP}
325
326${TMP_DIR}:
327        ${MKINSTALLDIRS} ${TMP_DIR}
328
329# pattern rules for images - but not everybody has gnu-uudecode
330images/%.gif : images/%.gif.uu
331        cd images; ${UUDECODE} ../$< ;cd ..
332
333images/%.jpg : images/%.jpg.uu
334        cd images; ${UUDECODE} ../$< ;cd ..
335
336images/%.xbm : images/%.xbm.uu
337        cd images; ${UUDECODE} ../$< ;cd ..
338
339${IMAGES_HTML} : ${IMAGES_SRC}
340        test -d ${HTML_SUBDIR} || mkdir ${HTML_SUBDIR}
341        cp ${IMAGES_SRC} ${HTML_SUBDIR}
342
343${PLU_IMAGES_HTML} : ${IMAGES_SRC}
344        test -d ${PLU_HTML_SUBDIR} || mkdir ${PLU_HTML_SUBDIR}
345        cp ${IMAGES_SRC} ${PLU_HTML_SUBDIR}
346
347
348
349###########################################################
350# misc targets
351#
352install: singular.hlp html singular.idx standalone
353        ${MKINSTALLDIRS} ${infodir}
354        ${INSTALL_DATA} singular.hlp ${infodir}
355        test -r ${htmldir} || ln -s `pwd`/${HTML_SUBDIR} ${htmldir}
356        test -r ${exdir} || ln -s `pwd`/${EX_SUBDIR} ${exdir}
357
358install-plural: plural.hlp pluhtml plural.idx standalone-plural
359        ${MKINSTALLDIRS} ${infodir}
360        ${INSTALL_DATA} plural.hlp ${infodir}
361        test -r ${htmldir} || ln -s `pwd`/${{PLU_HTML_SUBDIR} ${htmldir}
362        test -r ${exdir} || ln -s `pwd`/${EX_SUBDIR} ${exdir}
363
364uninstall:
365        rm -f ${infodir}/singular.hlp
366        - rmdir ${infodir}
367
368#stupid HP's don't allow copy with many arguments
369install-sharedist: singular.hlp html singular.idx \
370                   ${STANDALONE_HTML_FILES} ${STANDALONE_TXT_FILES}
371        ${MKINSTALLDIRS} ${install_prefix}
372        ${MKINSTALLDIRS} ${install_infodir}
373        ${INSTALL_DATA} singular.hlp ${install_infodir}
374        chmod -R +rX ${install_infodir}
375        ${MKINSTALLDIRS} ${install_htmldir}
376        cp ${HTML_SUBDIR}/*.htm ${install_htmldir}
377        cp ${HTML_SUBDIR}/*.gif ${install_htmldir}
378        cp ${HTML_SUBDIR}/*.jpg ${install_htmldir}
379        chmod -R +rX ${install_htmldir}
380        ${MKINSTALLDIRS} ${install_docdir}
381        ${INSTALL_DATA} singular.idx ${install_docdir}
382        ${INSTALL_DATA} ../GPL2 ${install_prefix}/GPL2
383        ${INSTALL_DATA} ../GPL3 ${install_prefix}/GPL3
384        ${INSTALL_DATA} COPYING.txt ${install_prefix}/COPYING
385        ${INSTALL_DATA} COPYING.html ${install_prefix}
386        ${INSTALL_DATA} NEWS.txt ${install_prefix}/NEWS
387        ${INSTALL_DATA} NEWS.html ${install_prefix}
388        ${INSTALL_DATA} README_distribution.txt ${install_prefix}/README
389        ${INSTALL_DATA} README_distribution.html ${install_prefix}/README.html
390        chmod -R +rX ${install_docdir}
391        chmod -R +rX ${install_prefix}
392        ${MKINSTALLDIRS} ${install_exdir}
393        cp -R examples ${install_prefix}
394        /bin/rm -f ${install_prefix}/examples/[A-Z]*.res
395        /bin/rm -f ${install_prefix}/examples/*.res
396        /bin/rm -f ${install_prefix}/examples/[A-Z]*.inc
397        /bin/rm -f ${install_prefix}/examples/*.inc
398        chmod -R +rX ${install_prefix}/
399
400install-sharedist-plural: plural.hlp plu_html plural.idx \
401                   ${PLU_STANDALONE_HTML_FILES} ${PLU_STANDALONE_TXT_FILES}
402        ${MKINSTALLDIRS} ${install_prefix}
403        ${MKINSTALLDIRS} ${install_infodir}
404        ${INSTALL_DATA} plural.hlp ${install_infodir}/singular.hlp
405        cp plural.hlp singular.hlp
406        chmod -R +rX ${install_infodir}
407        ${MKINSTALLDIRS} ${install_htmldir}
408        cp ${PLU_HTML_SUBDIR}/*.htm ${install_htmldir}
409        cp ${PLU_HTML_SUBDIR}/*.gif ${install_htmldir}
410        - cp ${PLU_HTML_SUBDIR}/*.jpg ${install_htmldir}
411        chmod -R +rX ${install_htmldir}
412        ${MKINSTALLDIRS} ${install_docdir}
413        ${INSTALL_DATA} plural.idx ${install_docdir}/singular.idx
414        ${INSTALL_DATA} ../GPL2 ${install_prefix}/GPL2
415        ${INSTALL_DATA} ../GPL3 ${install_prefix}/GPL3
416        ${INSTALL_DATA} COPYING.plural.txt ${install_prefix}/COPYING
417        ${INSTALL_DATA} COPYING.plural.html ${install_prefix}/COPYING.html
418        ${INSTALL_DATA} NEWS.plural.txt ${install_prefix}/NEWS
419        ${INSTALL_DATA} NEWS.plural.html ${install_prefix}/NEWS.html
420        chmod -R +rX ${install_docdir}
421        chmod -R +rX ${install_prefix}
422        if test -f examples; then \
423                ${MKINSTALLDIRS} ${install_exdir}; \
424                cp -R examples ${install_prefix}; \
425                /bin/rm -f ${install_prefix}/examples/[A-Z]*.res; \
426                /bin/rm -f ${install_prefix}/examples/*.res; \
427                /bin/rm -f ${install_prefix}/examples/[A-Z]*.inc; \
428                /bin/rm -f ${install_prefix}/examples/*.inc; \
429        fi
430        chmod -R +rX ${install_prefix}/
431
432
433# use 'make INSTALL_unix.olaf.txt INSTALL_unix.olaf.html SINGUNAME=olaf'
434# to generate these files for uname 'olaf'
435install-bindist: INSTALL_unix.${SINGUNAME}.txt INSTALL_unix.${SINGUNAME}.html
436        ${MKINSTALLDIRS} ${install_prefix}
437        ${INSTALL_DATA} INSTALL_unix.${SINGUNAME}.txt ${install_prefix}/INSTALL
438        ${INSTALL_DATA} INSTALL_unix.${SINGUNAME}.html ${install_prefix}/INSTALL.html
439
440install-bindist-plural:
441        ${MAKE} install-bindist SINGUNAME=plural
442
443install-ftp: ${STANDALONE_HTML_FILES} ${STANDALONE_TXT_FILES}
444        ${INSTALL_DATA} NEWS.txt ${ftpdir}/NEWS
445        ${INSTALL_DATA} NEWS.html ${ftpdir}
446        ${INSTALL_DATA} COPYING.txt ${ftpdir}/COPYING
447        ${INSTALL_DATA} COPYING.html ${ftpdir}
448        ${INSTALL_DATA} INSTALL_unix.txt ${ftpdir}/INSTALL_unix
449        ${INSTALL_DATA} INSTALL_unix.html ${ftpdir}
450        ${INSTALL_DATA} README_ftp.txt ${ftpdir}/README
451        ${INSTALL_DATA} README_ftp.html ${ftpdir}/README.html
452
453texi2html = $(TEXI2HTML:%.pl=%)
454
455lib2doc.tar.gz:
456        rm -rf lib2doc lib2doc.tar.gz
457        mkdir lib2doc
458        cp Makefile.lib2doc lib2doc/Makefile
459        ${MAKEINFO} --no-header --paragraph-indent none -o lib2doc/README lib2doc.texi
460        cp pl2doc.pl doc2tex.pl ${texi2html} lib2doc
461        tar cf lib2doc.tar lib2doc
462        ${GZIP} lib2doc.tar
463
464clean: mostlyclean
465        /bin/rm -rf singular.tex manual.tex ${DOC_SUBDIR} ${EX_SUBDIR}
466
467mostlyclean:
468        /bin/rm -f .singular_hist doe.tmp dump.ascii example.mp example.txt
469        /bin/rm -f save_i test.ascii test.mp
470        /bin/rm -f Z* *.tst *.pag *.dir *.lst *.log *.aux *.cp *.cps
471        /bin/rm -f *.fn *.fns *.ky *.kys *.log *.pg *.pgs *.toc *.tp
472        /bin/rm -f *.tps *.vr *.vrs *.dvi *.ps
473        /bin/rm -f s-*.tex p-*.tex
474        /bin/rm -f singular.hlp manual.hlp  ${DOC2TEX_FILES} singular.idx
475        /bin/rm -f plural.hlp manual.hlp  ${PLU_DOC2TEX_FILES}
476        /bin/rm -f ${HTML_SUBDIR}/${HTML_MANUAL_TOP} ${HTML_SUBDIR}/${HTML_TUTOR_TOP}
477        /bin/rm -f ${PLU_HTML_SUBDIR}/${HTML_MANUAL_TOP} ${PLU_HTML_SUBDIR}/${HTML_TUTOR_TOP}
478        /bin/rm -rf ${STANDALONE_HTML_FILES} ${STANDALONE_FILES} ${STANDALONE_TXT_FILES}
479        /bin/rm -f INSTALL_unix.${SINGUNAME}.txt INSTALL_unix.${SINGUNAME}.html
480
481distclean: clean
482        /bin/rm -f Makefile
483        /bin/rm -rf ${HTML_SUBDIR} ../html ../examples
484        /bin/rm -rf ${PLU_HTML_SUBDIR} ../html ../examples
485
486maintainer-clean: distclean
487
488${SINGULAR}:
489#       cd ..; ${MAKE} ${SINGULAR}
490
491Makefile: Makefile.in
492        cd ..;  CONFIG_FILES="doc/Makefile" CONFIG_HEADERS= ./config.status
493
494html-done: ${MANUAL_FILES}
Note: See TracBrowser for help on using the repository browser.