diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-24 18:59:00 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-24 18:59:00 +0000 |
commit | ede33260c992482e646485c6a7d6a1958d807d86 (patch) | |
tree | 24e9fc31d480ee452bb232fa9e13ebbc88686140 /TAO/Makefile | |
parent | 36a37675dc56636bfe170f22bb42b5e975ac07fa (diff) | |
download | ATCD-ede33260c992482e646485c6a7d6a1958d807d86.tar.gz |
filter out backup files from releases
Diffstat (limited to 'TAO/Makefile')
-rw-r--r-- | TAO/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/Makefile b/TAO/Makefile index af8539f9a0c..1723852d24f 100644 --- a/TAO/Makefile +++ b/TAO/Makefile @@ -99,12 +99,14 @@ endif #### Old versions of cpio might not, but the version that's shipped with #### Solaris 2.5.1, and gnu cpio 2.3, do support that option. +FILTER = -name CVS -prune -o ! -name '.\#*' ! -name '\#*' ! -name '*~' -print + cleanrelease: @$(TIMESTAMP) (make realclean; cd ..; \ - find $(RELEASE_FILES) -name CVS -prune -o -print | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ + find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ chmod a+r TAO.tar.gz; ) release: @$(TIMESTAMP) (cd ..; \ - find $(RELEASE_FILES) -name CVS -prune -o -print | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ + find $(RELEASE_FILES) $(FILTER) | cpio -o -H tar | gzip -9 > TAO.tar.gz; \ chmod a+r TAO.tar.gz; ) |