aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--prelude.mk6
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index eae0b27..0e4b7de 100644
--- a/Makefile
+++ b/Makefile
@@ -21,4 +21,4 @@ install:
cp -dr --preserve=mode,timestamp -- html '$(call escape,$(DESTDIR))/srv/$(call escape,$(PKG_NAME))'
- install -D -m 0644 -t '$(call escape,$(DESTDIR))/usr/lib/systemd/system' 'dist/systemd/$(call escape,$(PKG_NAME)).service'
+ install -D -m 0644 -t '$(call escape,$(DESTDIR))/lib/systemd/system' 'dist/systemd/$(call escape,$(PKG_NAME)).service'
diff --git a/prelude.mk b/prelude.mk
index da836d7..e0862a5 100644
--- a/prelude.mk
+++ b/prelude.mk
@@ -21,3 +21,9 @@ ifeq ($$(origin $(1)),command line)
override $(1) := $$(value $(1))
endif
endef
+
+# A helper target to force execution of pattern rules (works like .PHONY for
+# them): https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
+#
+.PHONY: DO
+DO: