зеркало из https://github.com/mozilla/pjs.git
Add recursive rule, 'makefiles', to update Makefiles when their Makefile.in's are more recent.
This commit is contained in:
Родитель
11de83b6b4
Коммит
bfa38a80db
|
@ -537,9 +537,6 @@ endif #STRICT_CPLUSPLUS_SUFFIX
|
|||
%.h: %.idl
|
||||
$(IDL_COMPILE) -h -w -I $(DIST)/idl $<
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in
|
||||
$(topsrcdir)/build/autoconf/update-makefile.sh
|
||||
|
||||
ifdef DIRS
|
||||
$(DIRS)::
|
||||
@if test -d $@; then \
|
||||
|
@ -553,9 +550,22 @@ $(DIRS)::
|
|||
$(CLICK_STOPWATCH)
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
###############################################################################
|
||||
# Update Makefiles
|
||||
###############################################################################
|
||||
#
|
||||
$(OBJDIR)/Makefile: Makefile.in
|
||||
@echo Updating $@
|
||||
$(topsrcdir)/build/autoconf/update-makefile.sh
|
||||
|
||||
makefile: $(OBJDIR)/Makefile
|
||||
|
||||
Makefiles makefiles:: $(OBJDIR)/Makefile
|
||||
+$(LOOP_OVER_DIRS)
|
||||
|
||||
###############################################################################
|
||||
# Bunch of things that extend the 'export' rule (in order):
|
||||
################################################################################
|
||||
###############################################################################
|
||||
|
||||
$(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE) $(JMCSRCDIR)::
|
||||
@if test ! -d $@; then \
|
||||
|
@ -953,7 +963,7 @@ endif
|
|||
# Fake targets. Always run these rules, even if a file/directory with that
|
||||
# name already exists.
|
||||
#
|
||||
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs realclean $(OBJDIR) $(DIRS)
|
||||
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs makefiles Makefiles realclean $(OBJDIR) $(DIRS)
|
||||
|
||||
envirocheck::
|
||||
@echo -----------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче