From: Adam Dickmeiss Date: Mon, 17 Apr 1995 09:31:02 +0000 (+0000) Subject: Minor corrections. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=cca0f6ebd5c2e0aafab3c12b48667c317a1e5d4c;p=egate.git Minor corrections. --- diff --git a/Makefile b/Makefile index f896bc7..ed12eb4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Top level Makefile for Email gateway. # Europagate, 1994-1995. # -# $Id: Makefile,v 1.19 1995/03/31 09:42:56 adam Exp $ +# $Id: Makefile,v 1.20 1995/04/17 09:31:02 adam Exp $ # SHELL=/bin/sh MAKE=make @@ -36,26 +36,24 @@ distclean: clean cleandepend cleandepend: for i in $(SUBDIR); do (cd $$i; \ - mv Makefile Makefile.tmp; \ - sed '/^#Depend/q' Makefile; \ - rm Makefile.tmp; rm -f .depend); done + if sed '/^#Depend/q' Makefile.tmp; then \ + mv -f Makefile.tmp Makefile; fi; rm -f .depend); done taildepend: for i in $(SUBDIR); do (cd $$i; \ - mv Makefile Makefile.tmp; \ - sed 's/^if/#xif/' Makefile; \ - rm Makefile.tmp); done + if sed 's/^if/#if/' Makefile.tmp; then \ + mv -f Makefile.tmp Makefile; fi); done gnudepend: for i in $(SUBDIR); do (cd $$i; \ - mv Makefile Makefile.tmp; \ - sed '/^#Depend/q' Makefile; \ - rm Makefile.tmp); done + if sed '/^#Depend/q' Makefile.tmp;then \ + mv -f Makefile.tmp Makefile; fi); done wc: wc `find . -name '*.[ch]'`