[project @ 1999-12-09 11:24:05 by simonmar]
authorsimonmar <unknown>
Thu, 9 Dec 1999 11:24:05 +0000 (11:24 +0000)
committersimonmar <unknown>
Thu, 9 Dec 1999 11:24:05 +0000 (11:24 +0000)
cleanups & fixes

Obtained-from: Michael Weber <michael.weber@post.rwth-aachen.de>

mk/target.mk

index 9ec355c..3e7fdde 100644 (file)
@@ -878,6 +878,7 @@ SGML_PDF  = $(SGML_DOC).pdf
 SGML_RTF  = $(SGML_DOC).rtf
 SGML_HTML = $(SGML_DOC).html
 # HTML output goes in a subdirectory on its own.
+SGML_TEXT = $(SGML_DOC).txt
 
 $(SGML_DVI) $(SGML_PS) $(SGML_INFO) $(SGML_HTML) $(SGML_TEXT) :: $(SGML_SRCS)
 
@@ -886,8 +887,11 @@ ps   :: $(SGML_PS)
 pdf  :: $(SGML_PDF)
 rtf  :: $(SGML_RTF)
 html :: $(SGML_HTML)
+txt  :: $(SGML_TEXT)
 
-CLEAN_FILES += $(SGML_TEXT) $(SGML_PS) $(SGML_DVI) $(SGML_PDF) $(SGML_RTF) $(SGML_HTML)
+CLEAN_FILES += $(SGML_TEXT) $(SGML_PS) $(SGML_DVI) $(SGML_PDF) $(SGML_RTF) $(SGML_HTML) $(SGML_DOC)-*.html
+# can't use $(SGML_SRCS) here, it was maybe used elsewhere
+MOSTLY_CLEAN_FILES += $(patsubst %.vsgml, %.sgml, $(VSGML_SRCS))
 
 clean ::
        $(RM) -rf $(SGML_DOC)
@@ -1047,7 +1051,7 @@ endif     # if way
 
 ifneq "$(SUBDIRS)" ""
 
-all docs runtests boot TAGS clean veryclean maintainer-clean install info ::
+all docs runtests boot TAGS clean veryclean maintainer-clean install info html ps dvi txt::
        @echo "------------------------------------------------------------------------"
        @echo "===fptools== Recursively making \`$@' in $(SUBDIRS) ..."
        @echo "PWD = $(shell pwd)"