summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-01-04 01:24:19 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-01-03 20:03:32 -0500
commit4c3f828ef59889783c84b360f95d90ab37bc2511 (patch)
tree0943276d2ce0b1ffaa754f59b2638a43fbfd266b /Makefile
parent3021117f7b4e17041d96e4906fce90a1ccd0183e (diff)
Add support for the pacman-g2 package manager.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 17ac854..3ad9a18 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,11 @@ install:
cp -a *.d $(PREFIX)/etc/etckeeper/
cp etckeeper.conf $(PREFIX)/etc/etckeeper/
install -D etckeeper $(PREFIX)/usr/bin/etckeeper
+ifeq ($(PACKAGE_MANAGER),)
install -m 0644 -D apt.conf $(PREFIX)/etc/apt/apt.conf.d/05etckeeper
+endif
+ifeq ($(PACKAGE_MANAGER),pacman-g2)
+ install -m 0644 -D pacman-g2.hook $(PREFIX)/etc/pacman-g2/hooks/etckeeper
+endif
install -m 0644 -D etckeeper.1 $(PREFIX)/usr/share/man/man1/etckeeper.1
install -m 0644 -D bash_completion $(PREFIX)/etc/bash_completion.d/etckeeper \ No newline at end of file