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