Skip to content

Commit

Permalink
Avoid unnecessary bootstrap runs in VPATH builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Denemark committed Aug 11, 2010
1 parent efdd0ff commit 0495fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ bootstrap_hash()
curr_status=.git-module-status
t=$(bootstrap_hash; git diff .gnulib)
if test "$t" = "$(cat $curr_status 2>/dev/null)" \
&& test -f "$THEDIR/po/Makevars"; then
&& test -f "po/Makevars"; then
# good, it's up to date, all we need is autoreconf
autoreconf -if
else
Expand Down
2 changes: 1 addition & 1 deletion cfg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ ifeq (0,$(MAKELEVEL))
# b653eda3ac4864de205419d9f41eec267cb89eeb
_submodule_hash = sed 's/^[ +-]//;s/ .*//'
_update_required := $(shell \
test -f po/Makevars || { echo 1; exit; }; \
cd '$(srcdir)'; \
test -f po/Makevars || { echo 1; exit; }; \
actual=$$(git submodule status | $(_submodule_hash); \
git hash-object bootstrap.conf; \
git diff .gnulib); \
Expand Down

0 comments on commit 0495fe5

Please sign in to comment.