summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-07-14 12:56:46 +0200
committerErich Eckner <git@eckner.net>2016-07-14 12:56:46 +0200
commit674904f5aa4178dd6c19d9e1964c9a22f7a9de76 (patch)
tree46c0f9208cf727a8fbe3f6592398fedc4bd2753d /Makefile
parent79d809ad637f3cbecf221447f67ba03f57ddc9ff (diff)
downloadupdate-all-674904f5aa4178dd6c19d9e1964c9a22f7a9de76.tar.xz
update-me neu
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d313e41..5a6901e 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ BINDIR = /usr/bin
VERSION = 0.0
-all: update-all
+all: update-all update-me
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
@@ -34,10 +34,12 @@ all: update-all
install: all
install -D -m0755 update-all $(DESTDIR)$(BINDIR)/update-all
+ install -D -m0755 update-me $(DESTDIR)$(BINDIR)/update-me
install -D -m0644 update-all.conf $(DESTDIR)$(ETCDIR)/update-all.conf
+ install -D -m0644 update-me.conf $(DESTDIR)$(ETCDIR)/update-me.conf
clean:
- rm -f update-all
+ rm -f update-all update-me
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true