diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-23 02:40:16 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-23 02:40:16 +0000 |
commit | 457a6992c781a238fe7a803d8b8da345780ec9bb (patch) | |
tree | d15469bb225d352b103505422b1114691f90d5af /Makefile | |
parent | 370b692fee2eabba10feaddc4c8adc1c6f18bba8 (diff) | |
download | ATCD-457a6992c781a238fe7a803d8b8da345780ec9bb.tar.gz |
(TIMESTAMP): put call to /usr/bin/date in BEGIN block
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |