summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-24 17:37:10 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-24 17:37:10 +0000
commit60d361b9e0e112e2002967b15a2acd6c3bc723d6 (patch)
tree2488c7b07e5f8ad775e2e772475dacdb0588d0f7 /Makefile
parent32df03b17ffbdcb72e36add78db065fec8ac18de (diff)
downloadATCD-60d361b9e0e112e2002967b15a2acd6c3bc723d6.tar.gz
only run "cvs update" on RELEASE_FILES
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af537b3357c..4b47da07339 100644
--- a/Makefile
+++ b/Makefile
@@ -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; \