[pacman-dev] [PATCH] Create repo-remove symlink in scripts dir

Allan McRae allan at archlinux.org
Thu Jun 7 00:23:06 EDT 2012


Fix the creation of the repo-remove symlink in the scripts/ dir
on building.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 scripts/Makefile.am |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 9a08524..29c81aa 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -4,7 +4,9 @@ AUTOMAKE_OPTIONS = std-options
 SUBDIRS = po
 
 bin_SCRIPTS = \
-	$(OURSCRIPTS)
+	$(OURSCRIPTS) \
+	repo-remove \
+	repo-elephant
 
 OURSCRIPTS = \
 	makepkg \
@@ -94,12 +96,12 @@ repo-add: \
 	$(srcdir)/library/output_format.sh
 
 repo-remove: $(srcdir)/repo-add.sh.in
-	$(RM) repo-remove
-	$(LN_S) repo-add repo-remove
+	$(AM_V_at)$(RM) repo-remove
+	$(AM_V_at)$(LN_S) repo-add repo-remove
 
 repo-elephant: $(srcdir)/repo-add.sh.in
-	$(RM) repo-elephant
-	$(LN_S) repo-add repo-elephant
+	$(AM_V_at)$(RM) repo-elephant
+	$(AM_V_at)$(LN_S) repo-add repo-elephant
 
 install-data-hook:
 	cd $(DESTDIR)$(bindir) && \
-- 
1.7.10.3



More information about the pacman-dev mailing list