2012-09-22 Paul Eggert <eggert@cs.ucla.edu>
+ * Makefile.in (bootstrap): Simplify build procedure.
+ Suggested by Wolfgang Jenker in
+ <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00456.html>.
+
Merge from gnulib, incorporating:
2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
.PHONY: bootstrap
# Bootstrapping does the following:
-# * Remove files to start from a clean slate.
+# * Remove files to start from a bootstrap-clean slate.
# * Run autogen.sh, falling back on copy_autogen if autogen.sh fails.
-# * Build Makefile, to build the build procedure itself.
+# * Rebuild Makefile, to update the build procedure itself.
# * Do the actual build.
bootstrap: bootstrap-clean FRC
cd $(srcdir) && { ./autogen.sh || autogen/copy_autogen; }
- if [ -x config.status ]; then \
- ./config.status --recheck && \
- ./config.status; \
- else \
- $(srcdir)/configure $(CONFIGURE_FLAGS); \
- fi
+ $(MAKE) $(MFLAGS) Makefile
$(MAKE) $(MFLAGS) info all
.PHONY: check-declare