summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-04 14:03:25 +0200
committerErich Eckner <git@eckner.net>2016-05-04 14:03:25 +0200
commit5d55d3b54795e2122d17b37d8491ec29cd8355cd (patch)
tree70fa5a7be420523b7da74dfd3102e1404e4b90ed
parent5075b6984995dc12605f8886bd929c485011cd6f (diff)
downloadsendmailadvanced-1.0.7.tar.xz
neue Version: 1.0.7v1.0.7
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f262902..a796aaa 100644
--- a/Makefile
+++ b/Makefile
@@ -24,14 +24,14 @@ ETCDIR = /etc
BINDIR = /usr/bin
MANDIR = /usr/share/man
-VERSION = 1.0.6
+VERSION = 1.0.7
all: sendmailadvanced sendmailadvanced.8
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
-.PHONY: install clean
+.PHONY: install dist clean
install: all
install -D -m0755 sendmailadvanced $(DESTDIR)$(BINDIR)/sendmailadvanced
@@ -41,4 +41,11 @@ install: all
clean:
rm -f sendmailadvanced{,.8}
+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