diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-05 21:50:32 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-05 21:50:32 +0000 |
commit | 5ccbe410bc6e0a082995a791c4e47ef17460d6ca (patch) | |
tree | 163ee14d66f1c894055d7a6703d7a277e13f6512 /Makefile | |
parent | 32136ecd2a137a01d7d7e1368a9d1b487dd22327 (diff) | |
download | ATCD-5ccbe410bc6e0a082995a791c4e47ef17460d6ca.tar.gz |
made ACE-INSTALL a dependency of release and cleanrelease so that it is only updated when necessary
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -101,8 +101,7 @@ RELEASE_LIB_FILES = \ #### 4.2, it will not be modified because it is assumed to be for a #### final release. ifeq ($(shell pwd),/project/adaptive/ACE_wrappers) - TIMESTAMP = (lynx -dump ACE-INSTALL.html > ACE-INSTALL; \ - CHANGELOG='ChangeLog'; export CHANGELOG; \ + TIMESTAMP = (CHANGELOG='ChangeLog'; export CHANGELOG; \ if [ -z "$$CHANGELOG" ]; then \ echo unable to find latest ChangeLog file; exit 1; fi; \ DATE=`/usr/bin/date +"%a %b %d %T %Y"`; export DATE; \ @@ -151,13 +150,13 @@ endif FILTER = -name CVS -prune -o ! -name '.\#*' ! -name '\#*' ! -name '*~' ! -name '*.MAK' -print -cleanrelease: +cleanrelease: ACE-INSTALL @$(TIMESTAMP) (make realclean; cd ..; \ find $(RELEASE_FILES) ACE_wrappers/ACE-INSTALL $(FILTER) | \ cpio -o -H tar | gzip -9 > ACE.tar.gz; \ chmod a+r ACE.tar.gz; mv ACE.tar.gz ./ACE_wrappers/) -release: +release: ACE-INSTALL @$(TIMESTAMP) (cd ..; \ find $(RELEASE_FILES) ACE_wrappers/ACE-INSTALL $(FILTER) | \ cpio -o -H tar | gzip -9 > ACE.tar.gz; \ @@ -165,3 +164,6 @@ release: cpio -o -H tar | gzip -9 > ACE-lib.tar.gz; \ chmod a+r ACE.tar.gz ACE-lib.tar.gz; \ mv ACE.tar.gz ACE-lib.tar.gz ./ACE_wrappers/) + +ACE-INSTALL: ACE-INSTALL.html + @lynx -dump $< > $@ |