From: Chris Hanson Date: Mon, 10 Jul 2000 22:07:04 +0000 (+0000) Subject: Add "clean" rule. X-Git-Tag: 20090517-FFI~3356 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=bb05b79b7831b2d5336e8c5789fc4421f7759ed7;p=mit-scheme.git Add "clean" rule. --- diff --git a/v7/doc/user-manual/Makefile b/v7/doc/user-manual/Makefile index 4e08be774..263d2a294 100644 --- a/v7/doc/user-manual/Makefile +++ b/v7/doc/user-manual/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.2 2000/07/10 22:04:23 cph Exp $ +# $Id: Makefile,v 1.3 2000/07/10 22:06:01 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -36,3 +36,13 @@ user.info: user.texinfo html/user_toc.html: user.texinfo (cd html;make) + +AUX_SUFFIXES = aux log toc +INDEX_SUFFIXES = cp fn ky pg tp vr + +clean: + rm -f user.ps user.dvi user.pdf user*.info + rm -f $(addprefix user.,$(AUX_SUFFIXES)) + rm -f $(addprefix user.,$(INDEX_SUFFIXES)) + rm -f $(addsuffix s,$(addprefix user.,$(INDEX_SUFFIXES))) + $(MAKE) -C html $@ diff --git a/v7/doc/user-manual/html/Makefile b/v7/doc/user-manual/html/Makefile index d8589d140..8d4138a87 100644 --- a/v7/doc/user-manual/html/Makefile +++ b/v7/doc/user-manual/html/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.1 2000/07/10 22:06:58 cph Exp $ +# $Id: Makefile,v 1.2 2000/07/10 22:07:04 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -22,3 +22,6 @@ all: user_toc.html user_toc.html: ../user.texinfo -rm -rf *.html texi2html -split_chapter ../user.texinfo + +clean: + rm -rf *.html