From b97abbacf7a6659c2e34277cfa9dbc7e5817e1ba Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Sat, 31 Jan 2004 22:35:46 +0000 Subject: [PATCH] * device/include/Makefile.in (install), * doc/Makefile (install): changed to 'rm `find ...`' construct to avoid warnings git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3165 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 3 +++ device/include/Makefile.in | 2 +- doc/Makefile | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f2a1d3f8..25c1c335 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,9 @@ * support/Util/SDCCerr.h: * support/Util/SDCCerr.c: replaced W_ARRAY_BOUND by W_IDX_OUT_OF_BOUNDS * .version: bumped version number to 2.3.8 + * device/include/Makefile.in (install), + * doc/Makefile (install): changed to 'rm `find ...`' construct to + avoid warnings 2004-01-30 Bernhard Held diff --git a/device/include/Makefile.in b/device/include/Makefile.in index 42ead526..594e8575 100644 --- a/device/include/Makefile.in +++ b/device/include/Makefile.in @@ -44,7 +44,7 @@ install: all installdirs if [ "`grep pic16 ../../ports.build`" = pic16 ]; then \ $(CP) pic16/*.h $(sdcc_includedir)/pic16 ; \ fi \ - find $(sdcc_includedir) -type d -name 'CVS' -exec rm {} \; + rm -rf `find $(sdcc_includedir) -type d -name 'CVS'` # Deleting all the installed files diff --git a/doc/Makefile b/doc/Makefile index 5c27572a..25f75328 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -17,7 +17,7 @@ install: if [ -f $(MANUAL).pdf ]; then cp -rf $(MANUAL).pdf $(docdir); fi if [ -f $(TSS).pdf ]; then cp -rf $(TSS).pdf $(docdir); fi if [ -f $(CDB).pdf ]; then cp -rf $(CDB).pdf $(docdir); fi - [ -d $(docdir) ] find $(docdir) -name CVS -type d -exec rm -r {} \; + rm -rf `find $(docdir) -name CVS -type d` rm -f $(docdir)/*/WARNINGS $(docdir)/*/*.pl $(docdir)/*/images.* uninstall: -- 2.30.2