summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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