summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-06 22:00:14 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-06 22:00:14 +0000
commit2fdac6d1b6b9b1cbfbb1dc50bedd7f471eb03b74 (patch)
treefe640b031b20917b58ed8253d9bf8382b95a9159 /Makefile
parent19a6cc848986c6cfed8c316b371de9f0e580ce37 (diff)
downloadATCD-2fdac6d1b6b9b1cbfbb1dc50bedd7f471eb03b74.tar.gz
fixed TIMESTAMP by always calling pwd, and removed extra backslash at the end of it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 8871f582e30..b33ac504ac5 100644
--- a/Makefile
+++ b/Makefile
@@ -82,18 +82,14 @@ RELEASE_LIB_FILES = \
ACE_wrappers/ace \
ACE_wrappers/include \
-ifeq ($(PWD),)
- PWD := $(shell pwd)
-endif
-
#### If creating the "official" ACE release, update the timestamp in VERSION.
#### Detect if we are doing that by looking at the PWD.
#### To disable this feature, add "TIMESTAMP=" to the make command line.
-ifeq ($(PWD),/home/cs/faculty/schmidt/adaptive/ACE_wrappers)
+ifeq ($(shell pwd),/project/adaptive/ACE_wrappers)
TIMESTAMP = perl -pi -e 'BEGIN {chop ($$date=`/usr/bin/date`);} \
s/(, released ).*/$$1$$date./' VERSION; \
cvs commit -m'make release: updated timestamp' VERSION; \
- chmod 644 VERSION; \
+ chmod 644 VERSION;
else
TIMESTAMP =
endif