From 3e6faf495a2f0377ae8ad6c24be4366db5d61fb0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 9 Jul 2000 01:36:12 +0000 Subject: [PATCH] Add "clean" rule. --- v7/doc/imail/Makefile | 12 +++++++++++- v7/doc/imail/html/Makefile | 7 +++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/v7/doc/imail/Makefile b/v7/doc/imail/Makefile index 121f86475..6555155b2 100644 --- a/v7/doc/imail/Makefile +++ b/v7/doc/imail/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.1 2000/07/09 01:19:11 cph Exp $ +# $Id: Makefile,v 1.2 2000/07/09 01:36:07 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -33,3 +33,13 @@ imail.info: imail.texinfo html/imail_toc.html: imail.texinfo (cd html;make) + +AUX_SUFFIXES = aux log toc +INDEX_SUFFIXES = cp fn ky pg tp vr + +clean: + rm -f imail.ps imail.dvi imail*.info + rm -f $(addprefix imail.,$(AUX_SUFFIXES)) + rm -f $(addprefix imail.,$(INDEX_SUFFIXES)) + rm -f $(addsuffix s,$(addprefix imail.,$(INDEX_SUFFIXES))) + $(MAKE) -C html $@ diff --git a/v7/doc/imail/html/Makefile b/v7/doc/imail/html/Makefile index 43c4a5877..0711679df 100644 --- a/v7/doc/imail/html/Makefile +++ b/v7/doc/imail/html/Makefile @@ -1,5 +1,5 @@ -# $Id: Makefile,v 1.1 2000/07/09 01:23:07 cph Exp $ +# $Id: Makefile,v 1.2 2000/07/09 01:36:12 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -20,5 +20,8 @@ all: imail_toc.html imail_toc.html: ../imail.texinfo - -rm -rf *.html + rm -rf *.html texi2html -split_chapter ../imail.texinfo + +clean: + rm -rf *.html -- 2.25.1