summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-23 13:12:46 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-23 13:12:46 +0000
commit18c6124caaa734c18d7e3891b900d01025ee4e4d (patch)
tree215040a7acfd922a82a1e54161cddafe4dd3f236 /Makefile
parentff81c53907a5f6f3d9a3265fc5b56d83a18701c8 (diff)
downloadscala-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--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e671af4957..35a7251ac0 100644
--- a/Makefile
+++ b/Makefile
@@ -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