summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-04 14:12:23 +0200
committerErich Eckner <git@eckner.net>2016-05-08 21:28:33 +0200
commit10ae226b60f1f249cc5c4afb9856b5e1c5eadfb5 (patch)
tree3e00acef3ae322ffe0b3fc5e59ebc13698828589 /Makefile
parente1892ff9561add0a9417cb522530095bfb76850a (diff)
downloadhardlinkedBackups-10ae226b60f1f249cc5c4afb9856b5e1c5eadfb5.tar.xz
weniger kraftvolles make dist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index da68d41..d140b28 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ all: hardlinkedbackups.8 backup lastBackups
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) backup lastBackups
install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 hardlinkedbackups.8
- ln -S $(DESTDIR)$(MANDIR)/man8/{hardlinkedbackups,backups,lastBackups}.8
+ ln -s $(DESTDIR)$(MANDIR)/man8/{hardlinkedbackups,backups,lastBackups}.8
install -D -m0644 -t $(DESTDIR)$(ETCDIR)/backup.conf
clean:
@@ -44,9 +44,9 @@ clean:
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 -d v$(VERSION) 2> /dev/null
git tag v$(VERSION)
- git push --force
+ git push
git push --tags
# End of file