summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.am10
1 files changed, 3 insertions, 7 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index dc2d8e5e..35f95c69 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -228,13 +228,9 @@ pkgdelta: $(srcdir)/pkgdelta.sh.in
repo-add: $(srcdir)/repo-add.sh.in
-repo-remove: $(srcdir)/repo-add.sh.in
- $(AM_V_at)$(RM) repo-remove
- $(AM_V_at)$(LN_S) repo-add repo-remove
-
-repo-elephant: $(srcdir)/repo-add.sh.in
- $(AM_V_at)$(RM) repo-elephant
- $(AM_V_at)$(LN_S) repo-add repo-elephant
+repo-remove repo-elephant: repo-add
+ $(AM_V_at)$(RM) $@
+ $(AM_V_at)$(LN_S) repo-add $@
.SECONDEXPANSION:
$(WRAPPER): \