Bug 1141268 - Install js-config.h for standalone builds. r=glandium
authorSean Stangl <sstangl@mozilla.com>
Mon, 09 Mar 2015 13:42:31 -0700
changeset 232877 fab5fb1351c602ed5c6a33605f659acf32ab807c
parent 232876 c06350801711f5caaa8b21af74524c74878db292
child 232878 062749867598968844891358026b0b876b8a4dd3
push id28394
push userkwierso@gmail.com
push dateWed, 11 Mar 2015 01:24:00 +0000
treeherdermozilla-central@fd8e079d6335 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1141268
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1141268 - Install js-config.h for standalone builds. r=glandium
js/src/Makefile.in
--- a/js/src/Makefile.in
+++ b/js/src/Makefile.in
@@ -209,16 +209,19 @@ SCRIPTS = $(JS_CONFIG_NAME)
 SDK_BINARY = $(JS_CONFIG_NAME)
 
 $(LIBRARY_NAME).pc: js.pc
 	cp $^ $@
 
 install:: $(LIBRARY_NAME).pc
 	$(SYSINSTALL) $^ $(DESTDIR)$(libdir)/pkgconfig
 
+install:: js-config.h
+	$(SYSINSTALL) $^ $(DESTDIR)$(includedir)
+
 ######################################################
 # BEGIN SpiderMonkey header installation
 #
 # Mozilla/Gecko/Firefox mostly doesn't concern itself with defining a sensible
 # install target, because it's shipping primarily packaged builds.  And even if
 # it did, those builds wouldn't really have reason to include header files.  So
 # we have to install public headers ourselves, rather than using something from
 # config/rules.mk or similar.