Remove PDF file on clean, have clean.sh invoke "make clean"

This commit is contained in:
Kevin Rosenberg 2003-11-26 03:35:22 +00:00
parent e5994b0d53
commit bab58d17ae
2 changed files with 6 additions and 10 deletions

View file

@ -105,9 +105,9 @@ ${TXTFILE}: ${FOFILE}
.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

View file

@ -1,10 +1,6 @@
#!/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