summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-19 08:58:29 +0100
committerAaron Griffin <aaron@archlinux.org>2006-12-19 08:58:29 +0100
commit78a1a0ac10ec828ebb4405b79a255ed711c49e37 (patch)
tree9e1a8a2887ac0d26f9fef59e494fbcae053c27aa
parenta551289265d9e23873a23a4ea8379b4b7acd841e (diff)
downloadpacman-78a1a0ac10ec828ebb4405b79a255ed711c49e37.tar.gz
pacman-78a1a0ac10ec828ebb4405b79a255ed711c49e37.tar.xz
More abs build fixes
-rwxr-xr-xautoclean.sh2
-rw-r--r--etc/abs/Makefile.am17
2 files changed, 19 insertions, 0 deletions
diff --git a/autoclean.sh b/autoclean.sh
index c73063b7..16364519 100755
--- a/autoclean.sh
+++ b/autoclean.sh
@@ -36,6 +36,8 @@ rm -rf etc/Makefile.in
rm -rf etc/Makefile
rm -rf etc/pacman.d/Makefile.in
rm -rf etc/pacman.d/Makefile
+rm -rf etc/abs/Makefile.in
+rm -rf etc/abs/Makefile
rm -rf src/pacman/po/Makefile
rm -rf src/pacman/po/Makefile.in
diff --git a/etc/abs/Makefile.am b/etc/abs/Makefile.am
new file mode 100644
index 00000000..69727e91
--- /dev/null
+++ b/etc/abs/Makefile.am
@@ -0,0 +1,17 @@
+EXTRA_DIST = abs.conf \
+ supfile.arch \
+ supfile.community \
+ supfile.extra \
+ supfile.testing \
+ supfile.unstable
+
+install-data-hook:
+ mkdir -p $(DESTDIR)$(sysconfdir)/abs ; \
+ for j in $(EXTRA_DIST); do \
+ $(INSTALL) -c -m 644 $(srcdir)/$$j $(DESTDIR)$(sysconfdir)/abs/$$j ; \
+ done
+
+uninstall-hook:
+ for j in $(EXTRA_DIST); do \
+ rm -f $(DESTDIR)$(sysconfdir)/abs/$$j ; \
+ done