From 9347ed6bee0fdbb03847238ca60a21ce7a27c40e Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Wed, 9 Oct 2019 00:10:13 -0300 Subject: Add the pacman hook and script files to the installation Changed the Makefile to properly install the pacman hook and script. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 94c90de..f3ffa82 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,9 @@ DIRS = \ /usr/share/man/man1 \ /usr/share/mkinitcpio \ /usr/lib/systemd/system/shutdown.target.wants \ - /usr/lib/tmpfiles.d + /usr/lib/tmpfiles.d \ + /usr/share/libalpm/hooks \ + /usr/share/libalpm/scripts BASH_SCRIPTS = \ mkinitcpio \ @@ -70,6 +72,9 @@ install: all ln -s mkinitcpio $(DESTDIR)/usr/share/bash-completion/completions/lsinitcpio install -m644 shell/zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_mkinitcpio + install -m644 libalpm/hooks/90-mkinitcpio.hook $(DESTDIR)/usr/share/libalpm/hooks/90-mkinitcpio.hook + install -m755 libalpm/scripts/mkinitcpio.script $(DESTDIR)/usr/share/libalpm/scripts/mkinitcpio.script + doc: $(MANPAGES) man/%: man/%.txt Makefile a2x -d manpage \ -- cgit v1.2.3-24-g4f1b