summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f91ca1a..1affd38 100644
--- a/Makefile
+++ b/Makefile
@@ -24,9 +24,9 @@ BINDIR = /usr/bin
CACHEDIR = /var/cache
SYSTEMDDIR = /usr/lib/systemd/system
-VERSION = 0.0
+VERSION = 0.1
-all: save-time save-time.service
+all: save-time save-time.service save-time-now.service
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#CACHEDIR#@$(CACHEDIR)@" $< > $@
@@ -36,10 +36,10 @@ all: save-time save-time.service
install: all
install -D -m0755 -t $(DESTDIR)$(BINDIR) save-time
- install -D -m0644 -t $(DESTDIR)$(SYSTEMDDIR) save-time.service
+ install -D -m0644 -t $(DESTDIR)$(SYSTEMDDIR) save-time.service save-time-now.service save-time-now.timer
clean:
- rm -f save-time save-time.service
+ rm -f save-time save-time.service save-time-now.service
dist: clean
git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true