summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b191844..1c62b65 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ DESTDIR =
BINDIR = /usr/bin
MANDIR = /usr/share/man
-VERSION = 1.0.1
+VERSION = 1.0.2
all: Make Make.8
@@ -40,9 +40,13 @@ install: all
install -D -m0644 Make.8 $(DESTDIR)$(MANDIR)/man8/Make.8
dist: clean
- (cd .. && tar czvf Make-$(VERSION).tar.gz Make-$(VERSION))
+ git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true
+ ! git tag -d v$(VERSION) 2> /dev/null
+ git tag v$(VERSION)
+ git push
+ git push --tags
clean:
- rm -f Make Make.8
+ rm -f Make Make.8 *.ppu *.o
# End of file