.PHONY: clean
clean:
@rm -f *~ *.bak *.orig \#*\# .\#* texput.log
- @rm -rf html ${PSFILE} ${HTMLFILE} html-stamp
- @rm -f ${TMPFILES} ${FOFILE}
- @rm -f ${DVIFILE} ${TXTFILE}
+ @rm -rf html $(PSFILE) $(HTMLFILE) $(PDFFILE) html-stamp
+ @rm -f $(TMPFILES) $(FOFILE)
+ @rm -f $(DVIFILE) $(TXTFILE)
.PHONY: distclean
distclean: clean
#!/bin/sh
-# Remove directories which are known to be generated for output only.
-rm -rf html/
+. ../find-gnumake.sh
+find_gnumake
-# Remove files whose suffixes indicate that they're generated (e.g.
-# HTML or PostScript) not source (DocBook/SGML, build scripts, etc.).
-find . \( \
- -name '*.htm' -o \
- -name '*.html' \) -print | xargs rm -f
+$GNUMAKE clean