From 6481fa6a78a06e39f44c6a6e49ab460814d11fb3 Mon Sep 17 00:00:00 2001 From: ewt Date: Tue, 30 Jan 1996 04:14:53 +0000 Subject: [PATCH] changed where make clean happens when creating an archive CVS patchset: 254 CVS date: 1996/01/30 04:14:53 --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index a894f38..bebdc70 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,7 +50,7 @@ clean: for d in $(SUBDIRS); do \ (cd $$d; $(MAKE) $@) ;\ done - rm -f *.a *.o *~ $(PROGS) + rm -f *.a *.o core *~ $(PROGS) depend: $(CPP) $(CFLAGS) -M *.c > .depend @@ -58,7 +58,7 @@ depend: (cd $$d; $(MAKE) $@) ;\ done -archive: clean +archive: @echo " " @echo "I hope you checked everything out and made sure it builds" @echo "maybe someday Erik will get around to making that automatic." @@ -67,6 +67,7 @@ archive: clean @mkdir /tmp/rpm-$(VERSION) @tar cSpf - * | (cd /tmp/rpm-$(VERSION); tar xSpf -) @cd /tmp/rpm-$(VERSION); \ + make clean; \ find . -name "RCS" -exec rm {} \; ; \ find . -name ".depend" -exec rm {} \; ; \ rm -f *gz *rpm -- 2.7.4