From 78a1a0ac10ec828ebb4405b79a255ed711c49e37 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 19 Dec 2006 07:58:29 +0000 Subject: [PATCH] More abs build fixes --- autoclean.sh | 2 ++ etc/abs/Makefile.am | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 etc/abs/Makefile.am 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