summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-09 05:10:13 +0200
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-09 05:10:13 +0200
commit9347ed6bee0fdbb03847238ca60a21ce7a27c40e (patch)
treedb07f8a1f8e8adfbc750152409eccfd56196d357 /Makefile
parente8106a8e24588c1ba65f4c563d55a4275b0e4b70 (diff)
downloadmkinitcpio-9347ed6bee0fdbb03847238ca60a21ce7a27c40e.tar.gz
mkinitcpio-9347ed6bee0fdbb03847238ca60a21ce7a27c40e.tar.xz
Add the pacman hook and script files to the installation
Changed the Makefile to properly install the pacman hook and script.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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 \