Ensure makepkg-wrapper is built after makepkg

makepkg-wrapper did not get rebuilt if makepkg was regenerated due to library
changes.  Ensure makepkg-wrapper is always generated and linked any time
makepkg changes.

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2016-10-11 15:37:13 +10:00
parent e2b4e220bc
commit ad27aa30fb
1 changed files with 2 additions and 5 deletions

View File

@ -214,11 +214,8 @@ repo-elephant: $(srcdir)/repo-add.sh.in
$(AM_V_at)$(LN_S) repo-add repo-elephant
makepkg-wrapper: \
Makefile \
$(srcdir)/makepkg-wrapper.sh.in \
$(srcdir)/makepkg.sh.in \
$(srcdir)/library/parseopts.sh \
| makepkg
makepkg
$(AM_V_at)$(MKDIR_P) .lib
$(AM_V_at)mv -f makepkg .lib
$(AM_V_at)$(RM) $@