summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-04 14:04:48 +0200
committerErich Eckner <git@eckner.net>2016-05-04 14:04:48 +0200
commit30a88d1a86b44543e855ee4eaf92c29759be16e1 (patch)
tree652e6e094fb0f9c77ffec91aa50ae513a77d1363
parent5dd9f652296d8207e73b412349d9c59595c2c6cf (diff)
downloadlogwatch-extra-30a88d1a86b44543e855ee4eaf92c29759be16e1.tar.xz
neue Version: 0.3v0.3
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 636e429..5d79947 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ MANDIR = /usr/share/man
TMPDIR = /tmp
WAITDIR = /home/shutdown/.warteauf
-VERSION = 0.2
+VERSION = 0.3
all: doalogwatch doalogwatch.cron
@@ -42,7 +42,7 @@ all: doalogwatch doalogwatch.cron
s@#TMPDIR#@$(TMPDIR)@" \
$< > $@
-.PHONY: install clean
+.PHONY: install dist clean
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) doalogwatch
@@ -53,4 +53,11 @@ install: all
clean:
rm -f doalogwatch{,.cron}
+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