diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -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 |