Skip to content

Commit 27faa6c

Browse files
committed
Merge #10228: build: regenerate bitcoin-config.h as necessary
91ab8f5 build: fix bitcoin-config.h regeneration after touching build files (Cory Fields) 3577603 build: remove wonky auto top-level convenience targets (Cory Fields) Tree-SHA512: 2e68634439eeb7eca43cd2858135a583bfe0cf146e021a8384a24f7267aacc6f99bdc7a6d497a04d32e6a03e9446f0f599afb5bd53346dadf19f47d5fb2ea9f9
2 parents f6f3b58 + 91ab8f5 commit 27faa6c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Makefile.am

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ $(BITCOIN_WIN_INSTALLER): all-recursive
7676
echo error: could not build $@
7777
@echo built $@
7878

79-
$(if $(findstring src/,$(MAKECMDGOALS)),$(MAKECMDGOALS), none): FORCE
80-
$(MAKE) -C src $(patsubst src/%,%,$@)
81-
8279
$(OSX_APP)/Contents/PkgInfo:
8380
$(MKDIR_P) $(@D)
8481
@echo "APPL????" > $@

src/Makefile.am

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,14 @@ DISTCLEANFILES = obj/build.h
462462

463463
EXTRA_DIST = $(CTAES_DIST)
464464

465+
466+
config/bitcoin-config.h: config/stamp-h1
467+
@$(MAKE) -C $(top_builddir) $(subdir)/$(@)
468+
config/stamp-h1: $(top_srcdir)/$(subdir)/config/bitcoin-config.h.in $(top_builddir)/config.status
469+
$(AM_V_at)$(MAKE) -C $(top_builddir) $(subdir)/$(@)
470+
$(top_srcdir)/$(subdir)/config/bitcoin-config.h.in: $(am__configure_deps)
471+
$(AM_V_at)$(MAKE) -C $(top_srcdir) $(subdir)/config/bitcoin-config.h.in
472+
465473
clean-local:
466474
-$(MAKE) -C secp256k1 clean
467475
-$(MAKE) -C univalue clean

0 commit comments

Comments
 (0)