com php-src: make buildconf actually work: build/build.mk build/build2.mk
| From: | Michael Wallner | Date: | Fri, 30 Jan 2015 16:58:49 +0000 |
| Subject: | com php-src: make buildconf actually work: build/build.mk build/build2.mk | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84466@lists.php.net to get a copy of this message | ||
Commit: fa453d5abd358a1e99e304ba69e7a11059e8f1a0
Author: Michael Wallner <mike@php.net> Fri, 30 Jan 2015 17:58:49 +0100
Parents: 563e7822fd377706b1a9c764cd9adbfc274fd213
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fa453d5abd358a1e99e304ba69e7a11059e8f1a0
Log:
make buildconf actually work
Changed paths:
M build/build.mk
M build/build2.mk
Diff:
diff --git a/build/build.mk b/build/build.mk
index 007f081..6e26682 100644
--- a/build/build.mk
+++ b/build/build.mk
@@ -22,17 +22,16 @@ SUBDIRS = Zend TSRM
STAMP = buildmk.stamp
-ALWAYS = generated_lists
-
-
-all: $(STAMP) $(ALWAYS)
+all: $(STAMP) generated_lists
@$(MAKE) -s -f build/build2.mk
-generated_lists:
+generated_lists: ALWAYS
@echo makefile_am_files = Zend/Makefile.am TSRM/Makefile.am > $@
@echo config_m4_files = Zend/Zend.m4 TSRM/tsrm.m4 TSRM/threads.m4 \
Zend/acinclude.m4 ext/*/config*.m4 sapi/*/config.m4 >> $@
+ALWAYS:
+
$(STAMP): build/buildcheck.sh
@build/buildcheck.sh $(STAMP)
diff --git a/build/build2.mk b/build/build2.mk
index 2d9e684..08f144f 100644
--- a/build/build2.mk
+++ b/build/build2.mk
@@ -50,5 +50,6 @@ aclocal.m4: configure.in acinclude.m4
configure: aclocal.m4 configure.in $(config_m4_files)
@echo rebuilding $@
+ @rm -f $@
$(PHP_AUTOCONF) $(SUPPRESS_WARNINGS)