Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 62e370a..6faa266 100644
--- a/Makefile
+++ b/Makefile
@@ -29,5 +29,17 @@ install-initcpio:
install-doc:
install -vDm 644 $(DOC_FILES) -t $(DOC_DIR)
+
+uninstall: uninstall-initcpio uninstall-doc
-.PHONY: check install install-initcpio install-doc shellcheck shfmt
+uninstall-initcpio:
+ -rm $(addprefix $(HOOKS_DIR)/, $(notdir $(HOOKS_FILES)))
+ -rmdir $(HOOKS_DIR)
+ -rm $(addprefix $(INSTALL_DIR)/, $(notdir $(INSTALL_FILES)))
+ -rmdir $(INSTALL_DIR)
+
+uninstall-doc:
+ -rm $(addprefix $(DOC_DIR)/, $(notdir $(DOC_FILES)))
+ -rmdir $(DOC_DIR)
+
+.PHONY: check install install-initcpio uninstall uninstall-initcpio install-doc shellcheck shfmt