summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-04 11:20:59 +0200
committerErich Eckner <git@eckner.net>2016-05-04 13:16:28 +0200
commitd37d686e6bc473cf1a816ac59865a520a14d4dc8 (patch)
tree51566d161b18ca05331bc3fd096a292cc611b51c /Makefile
parentd961b88397ce08554d3c182ed783d5c6503307e3 (diff)
downloadcrypt-expiry-check-d37d686e6bc473cf1a816ac59865a520a14d4dc8.tar.xz
bugfix in c-e-c.cron, Beispiele hinzugefügt, Versionsupdatev4.0.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 80ca719..f9ef6a0 100644
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,9 @@ CRONDIR = /etc/cron.daily
BINDIR = /usr/bin
MANDIR = /usr/share/man
-VERSION = 4.0.1
+VERSION = 4.0.3
-all: crypt-expiry-check crypt-expiry-check.8
+all: crypt-expiry-check crypt-expiry-check.cron crypt-expiry-check.8
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#CRONDIR#@$(CRONDIR)@; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
@@ -36,12 +36,11 @@ all: crypt-expiry-check crypt-expiry-check.8
install: all
install -D -m0755 crypt-expiry-check.cron $(DESTDIR)$(CRONDIR)/crypt-expiry-check
- install -D -m0755 crypt-expiry-check $(DESTDIR)$(BINDIR)/crypt-expiry-check
- install -D -m0644 crypt-expiry-check.8 $(DESTDIR)$(MANDIR)/man8/crypt-expiry-check.8
- touch $(DESTDIR)$(ETCDIR)/crypt-expiry.checks
- chmod 644 $(DESTDIR)$(ETCDIR)/crypt-expiry.checks
+ install -D -m0755 -t $(DESTDIR)$(BINDIR) crypt-expiry-check
+ install -D -m0644 -t $(DESTDIR)$(MANDIR)/man8 crypt-expiry-check.8
+ install -D -m0644 -t $(DESTDIR)$(ETCDIR) crypt-expiry.checks
clean:
- rm -f crypt-expiry-check{,.8}
+ rm -f crypt-expiry-check{,.cron,.8}
# End of file