summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-23 02:40:16 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-23 02:40:16 +0000
commit457a6992c781a238fe7a803d8b8da345780ec9bb (patch)
treed15469bb225d352b103505422b1114691f90d5af /Makefile
parent370b692fee2eabba10feaddc4c8adc1c6f18bba8 (diff)
downloadATCD-457a6992c781a238fe7a803d8b8da345780ec9bb.tar.gz
(TIMESTAMP): put call to /usr/bin/date in BEGIN block
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c4c87f8705a..ec578eacef7 100644
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,9 @@ endif
#### Detect if we are doing that by looking at the PWD.
#### To disable this feature, add "TIMESTAMP=" to the make command line.
ifeq ($(PWD),/project/adaptive/ACE_wrappers)
- TIMESTAMP = perl -pi -e 'chop ($$date=`date`); s/(, released ).*/$$1$$date./' VERSION; cvs commit -m'make release: updated timestamp' VERSION;
+ TIMESTAMP = perl -pi -e 'BEGIN {chop ($$date=`/usr/bin/date`);} \
+ s/(, released ).*/$$1$$date./' VERSION; \
+ cvs commit -m'make release: updated timestamp' VERSION;
else
TIMESTAMP =
endif