scripts: fix repo-remove/elephant Makefile targets
repo-remove and repo-elephant don't care whether repo-add.sh.in is updated... but they do require the repo-add target to be up to date, so use that instead. As a bonus, use the same rule for both of them.
This commit is contained in:
parent
363664e47d
commit
83a16d3041
1 changed files with 3 additions and 7 deletions
|
@ -228,13 +228,9 @@ pkgdelta: $(srcdir)/pkgdelta.sh.in
|
||||||
|
|
||||||
repo-add: $(srcdir)/repo-add.sh.in
|
repo-add: $(srcdir)/repo-add.sh.in
|
||||||
|
|
||||||
repo-remove: $(srcdir)/repo-add.sh.in
|
repo-remove repo-elephant: repo-add
|
||||||
$(AM_V_at)$(RM) repo-remove
|
$(AM_V_at)$(RM) $@
|
||||||
$(AM_V_at)$(LN_S) repo-add repo-remove
|
$(AM_V_at)$(LN_S) repo-add $@
|
||||||
|
|
||||||
repo-elephant: $(srcdir)/repo-add.sh.in
|
|
||||||
$(AM_V_at)$(RM) repo-elephant
|
|
||||||
$(AM_V_at)$(LN_S) repo-add repo-elephant
|
|
||||||
|
|
||||||
.SECONDEXPANSION:
|
.SECONDEXPANSION:
|
||||||
$(WRAPPER): \
|
$(WRAPPER): \
|
||||||
|
|
Loading…
Add table
Reference in a new issue