diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |