summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 00fb659..e5d16bc 100644
--- a/Makefile
+++ b/Makefile
@@ -27,9 +27,15 @@ targets = \
$(DESTDIR)$(systemddir)/parabolaweb.service \
$(DESTDIR)$(systemddir)/parabolaweb-reporead-inotify.service
-all: depends.txt $(notdir $(targets)) parabolaweb.conf
+all: PHONY depends.txt $(notdir $(targets)) parabolaweb.conf
-install: $(targets) $(sysconffile)
+install: PHONY $(targets) $(sysconffile)
+
+uninstall: PHONY
+ $(RM) $(targets) $(sysconffile)
+
+clean: PHONY
+ $(RM) $(notdir $(targets)) depends.txt
# Pattern rules
@@ -48,7 +54,7 @@ $(DESTDIR)$(systemddir)/%.service: %.service
# Specific rules
depends.txt: list-depends depends_static.txt
- $< > $@
+ ./$< > $@
$(DESTDIR)$(sbindir)/parabolaweb-changepassword: parabolaweb-changepassword
install -Dm6755 $< $@
@@ -57,3 +63,4 @@ $(DESTDIR)(pkgconffile): parabolaweb.conf
install -Dm644 $< $@
.DELETE_ON_ERROR:
+.PHONY: PHONY