commit faaae03f60cc506ecf60922017fd142dd1a2d038
parent 121c859f910cebcc3228353c5599d22647cdb1e2
Author: sin <sin@2f30.org>
Date: Thu, 18 Dec 2014 16:32:53 +0000
Add .PHONY to Makefile and do not unconditionally mkdir -p etc
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -7,11 +7,13 @@ all: crond
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
- mkdir -p $(DESTDIR)$(PREFIX)/etc
- install -m 755 crond $(DESTDIR)$(PREFIX)/bin/
+ install -m 755 crond $(DESTDIR)$(PREFIX)/bin
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/crond
clean:
rm -f crond
+
+.PHONY:
+ all install uninstall clean