summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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