summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-04 14:04:10 +0200
committerErich Eckner <git@eckner.net>2016-05-04 14:04:10 +0200
commitfb94216e1c118742642f1443eed488db79ed6bd1 (patch)
treee43291f88f199d82066b7efe484812cf463e75c5
parent01ed277017cebee5f7e83dce2bb9935a43ce80a8 (diff)
downloadrunjobsparallel-fb94216e1c118742642f1443eed488db79ed6bd1.tar.xz
neue Version: 0.2v0.2
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 970e015..8e3e857 100644
--- a/Makefile
+++ b/Makefile
@@ -23,14 +23,14 @@ DESTDIR =
BINDIR = /usr/bin
TMPDIR = /tmp
-VERSION = 0.1
+VERSION = 0.2
all: runjobsparallel
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#TMPDIR#@$(TMPDIR)@" $< > $@
-.PHONY: install clean
+.PHONY: install dist clean
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) runjobsparallel
@@ -38,4 +38,11 @@ install: all
clean:
rm -f runjobsparallel
+dist: clean
+ git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true
+ git tag -d v$(VERSION) && git push origin --delete v$(VERSION) || true
+ git tag v$(VERSION)
+ git push --force
+ git push --tags
+
# End of file