diff options
author | paltherr <paltherr@epfl.ch> | 2003-10-23 13:12:46 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-10-23 13:12:46 +0000 |
commit | 18c6124caaa734c18d7e3891b900d01025ee4e4d (patch) | |
tree | 215040a7acfd922a82a1e54161cddafe4dd3f236 /Makefile | |
parent | ff81c53907a5f6f3d9a3265fc5b56d83a18701c8 (diff) | |
download | scala-18c6124caaa734c18d7e3891b900d01025ee4e4d.tar.gz scala-18c6124caaa734c18d7e3891b900d01025ee4e4d.tar.bz2 scala-18c6124caaa734c18d7e3891b900d01025ee4e4d.zip |
- Fixed command names
- Added PHONY rules
- Added version-increment
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -252,19 +252,27 @@ scalac4ant : ############################################################################## # Commands - Version management -set-project-version : +version-set : @if [ -z "$(VERSION)" ]; then \ - echo "Usage: $(MAKE) set-version VERSION=<version>"; \ + echo "Usage: $(MAKE) version-set VERSION=<version>"; \ exit 1; \ else \ $(call RUN,$(VERSION_SCRIPT) $(VERSION_FILE) set $(VERSION)); \ $(make) scripts; \ fi -update-project-version : +version-update : $(VERSION_SCRIPT) $(VERSION_FILE) update @$(make) scripts +version-increment : + $(VERSION_SCRIPT) $(VERSION_FILE) increment + @$(make) scripts + +.PHONY : version-set +.PHONY : version-update +.PHONY : version-increment + ############################################################################## # Targets |