aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.mk
blob: 6b93e7e5b758bda387e43e44c98a41b1951c47c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BOOTSTRAP_SUBDIRS += configure.ac
BOOTSTRAP_SUBDIRS += lib/cpluff/configure.ac
BOOTSTRAP_SUBDIRS += lib/gtest/configure.ac

BOOTSTRAP_TARGETS=$(basename $(BOOTSTRAP_SUBDIRS))
all: $(BOOTSTRAP_TARGETS)

%: %.ac
	autoreconf -vif $(@D)
	-@rm -rf $(@D)/autom4te.cache

%: %.in
	autoreconf -vif $(@D)
	-@rm -rf $(@D)/autom4te.cache

configure: configure.ac
	autoreconf -vif $(@D)
	-@rm -rf $(@D)/autom4te.cache
	@test -n "$$BOOTSTRAP_STANDALONE" || ( echo "Configuration is stale. You should almost certainly reconfigure" && false )