summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-29 02:31:59 +0100
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-29 02:31:59 +0100
commitd5e3f26dcdf623099c4f0fe5cceb72f34cebdc49 (patch)
tree9fad30f7632bda4115db3614913e788d01f8b771
parentb22d1f578396cae9adec0389bc470cf321ae139f (diff)
downloadmkinitcpio-d5e3f26dcdf623099c4f0fe5cceb72f34cebdc49.tar.gz
mkinitcpio-d5e3f26dcdf623099c4f0fe5cceb72f34cebdc49.tar.xz
Makefile: Add the remove hook and script to install
Add the remove hook and remove script as part of the installation.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b19ddb..9ef0f6a 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,8 @@ install: all
install -m644 libalpm/hooks/90-mkinitcpio-install.hook $(DESTDIR)/usr/share/libalpm/hooks/90-mkinitcpio-install.hook
install -m755 libalpm/scripts/mkinitcpio-install $(DESTDIR)/usr/share/libalpm/scripts/mkinitcpio-install
+ install -m644 libalpm/hooks/60-mkinitcpio-remove.hook $(DESTDIR)/usr/share/libalpm/hooks/60-mkinitcpio-remove.hook
+ install -m755 libalpm/scripts/mkinitcpio-remove $(DESTDIR)/usr/share/libalpm/scripts/mkinitcpio-remove
doc: $(MANPAGES)
man/%: man/%.txt Makefile