mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Followup to fix build bustage for bug 380970, patch by Alex Vincent<ajvincent@gmail.com>, r=sayrer, sr=bsmedberg
This commit is contained in:
parent
58a7060568
commit
a3cf44e135
@ -1714,6 +1714,42 @@ ifndef NO_INSTALL
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Copy each element of EXTRA_JS_MODULES to $(FINAL_TARGET)/modules
|
||||||
|
ifdef EXTRA_JS_MODULES
|
||||||
|
libs:: $(EXTRA_JS_MODULES)
|
||||||
|
ifndef NO_DIST_INSTALL
|
||||||
|
$(INSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/modules
|
||||||
|
endif
|
||||||
|
|
||||||
|
install:: $(EXTRA_JS_MODULES)
|
||||||
|
ifndef NO_INSTALL
|
||||||
|
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/modules
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef EXTRA_PP_JS_MODULES
|
||||||
|
libs:: $(EXTRA_PP_JS_MODULES)
|
||||||
|
ifndef NO_DIST_INSTALL
|
||||||
|
$(EXIT_ON_ERROR) \
|
||||||
|
for i in $^; do \
|
||||||
|
dest=$(FINAL_TARGET)/modules/`basename $$i`; \
|
||||||
|
$(RM) -f $$dest; \
|
||||||
|
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $$i > $$dest; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
|
||||||
|
install:: $(EXTRA_PP_JS_MODULES)
|
||||||
|
ifndef NO_INSTALL
|
||||||
|
$(EXIT_ON_ERROR) \
|
||||||
|
for i in $^; do \
|
||||||
|
dest=$(DESTDIR)$(mozappdir)/modules/`basename $$i`; \
|
||||||
|
$(RM) -f $$dest; \
|
||||||
|
$(PYTHON) $(topsrcdir)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $$i > $$dest; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# SDK
|
# SDK
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user