diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-24 17:37:10 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-24 17:37:10 +0000 |
commit | 60d361b9e0e112e2002967b15a2acd6c3bc723d6 (patch) | |
tree | 2488c7b07e5f8ad775e2e772475dacdb0588d0f7 /Makefile | |
parent | 32df03b17ffbdcb72e36add78db065fec8ac18de (diff) | |
download | ATCD-60d361b9e0e112e2002967b15a2acd6c3bc723d6.tar.gz |
only run "cvs update" on RELEASE_FILES
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,8 +97,8 @@ ifeq ($(shell pwd),/project/adaptive/ACE_wrappers) -type f | xargs ls -1t | head -1`; export CHANGELOG; \ if [ -z "$$CHANGELOG" ]; then echo unable to find latest ChangeLog file; exit; fi; \ DATE=`/usr/bin/date +"%a %b %d %T %Y"`; export DATE; \ - UPTODATE=`cvs -nq update | egrep -v '^\? ((build$)|(man$)|(tests/log/)|(ACE.*\.tar\.gz$))'`; \ - if [ "$$UPTODATE" ]; then echo ERROR: workspace must first be updated, or non-controlled files must be removed: $$UPTODATE; exit; fi; \ + (cd ..; UPTODATE=`cvs -nq update $(RELEASE_FILES)`); \ + if [ "$$UPTODATE" ]; then echo ERROR: workspace must be updated, and/or non-controlled files must be removed or added/committed: $$UPTODATE; exit; fi; \ ACE_VERSION=`perl -pi -e \ 'BEGIN { $$date=$$ENV{"DATE"} } \ s/(ACE version \d+\.\d+\.)(\d+)/sprintf("$$1%d",$$2+1)/e; \ |