summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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