Bug 780421 - Use $(PYTHON) to run config.status. r=glandium

This commit is contained in:
Siddharth Agarwal 2012-08-05 12:42:57 +02:00
parent c09dae34f7
commit f5ea284189
4 changed files with 10 additions and 10 deletions

View File

@ -320,7 +320,7 @@ endif
ifneq (,$(CONFIG_STATUS))
$(OBJDIR)/config/autoconf.mk: $(TOPSRCDIR)/config/autoconf.mk.in
$(OBJDIR)/config.status -n --file=$(OBJDIR)/config/autoconf.mk
$(PYTHON) $(OBJDIR)/config.status -n --file=$(OBJDIR)/config/autoconf.mk
endif

View File

@ -1154,24 +1154,24 @@ GARBAGE_DIRS += $(_JAVA_DIR)
ifndef NO_MAKEFILE_RULE
Makefile: Makefile.in
@$(DEPTH)/config.status -n --file=Makefile
@$(PYTHON) $(DEPTH)/config.status -n --file=Makefile
endif
ifndef NO_SUBMAKEFILES_RULE
ifdef SUBMAKEFILES
# VPATH does not work on some machines in this case, so add $(srcdir)
$(SUBMAKEFILES): % : $(srcdir)/%.in
$(DEPTH)$(addprefix /,$(subsrcdir))/config.status -n --file=$@
$(PYTHON) $(DEPTH)$(addprefix /,$(subsrcdir))/config.status -n --file=$@
endif
endif
ifdef AUTOUPDATE_CONFIGURE
$(topsrcdir)/configure: $(topsrcdir)/configure.in
(cd $(topsrcdir) && $(AUTOCONF)) && $(DEPTH)/config.status -n --recheck)
(cd $(topsrcdir) && $(AUTOCONF)) && $(PYTHON) $(DEPTH)/config.status -n --recheck)
endif
$(DEPTH)/config/autoconf.mk: $(topsrcdir)/config/autoconf.mk.in
$(DEPTH)/config.status -n --file=$(DEPTH)/config/autoconf.mk
$(PYTHON) $(DEPTH)/config.status -n --file=$(DEPTH)/config/autoconf.mk
$(TOUCH) $@
###############################################################################

View File

@ -233,4 +233,4 @@ DEFINES += -DMOZ_TREE_PIXMAN
endif
cairo-features.h: $(srcdir)/cairo-features.h.in $(GLOBAL_DEPS)
$(DEPTH)/config.status -n --file=$@
$(PYTHON) $(DEPTH)/config.status -n --file=$@

View File

@ -1154,24 +1154,24 @@ GARBAGE_DIRS += $(_JAVA_DIR)
ifndef NO_MAKEFILE_RULE
Makefile: Makefile.in
@$(DEPTH)/config.status -n --file=Makefile
@$(PYTHON) $(DEPTH)/config.status -n --file=Makefile
endif
ifndef NO_SUBMAKEFILES_RULE
ifdef SUBMAKEFILES
# VPATH does not work on some machines in this case, so add $(srcdir)
$(SUBMAKEFILES): % : $(srcdir)/%.in
$(DEPTH)$(addprefix /,$(subsrcdir))/config.status -n --file=$@
$(PYTHON) $(DEPTH)$(addprefix /,$(subsrcdir))/config.status -n --file=$@
endif
endif
ifdef AUTOUPDATE_CONFIGURE
$(topsrcdir)/configure: $(topsrcdir)/configure.in
(cd $(topsrcdir) && $(AUTOCONF)) && $(DEPTH)/config.status -n --recheck)
(cd $(topsrcdir) && $(AUTOCONF)) && $(PYTHON) $(DEPTH)/config.status -n --recheck)
endif
$(DEPTH)/config/autoconf.mk: $(topsrcdir)/config/autoconf.mk.in
$(DEPTH)/config.status -n --file=$(DEPTH)/config/autoconf.mk
$(PYTHON) $(DEPTH)/config.status -n --file=$(DEPTH)/config/autoconf.mk
$(TOUCH) $@
###############################################################################