aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-01-15 15:00:22 +0100
committerBjörn Gustavsson <[email protected]>2010-01-15 15:31:37 +0100
commit4bcf607bf9ce573790cd1a98c612fd894f938d2b (patch)
tree08d174b672be1472825cb28acd7da94470f20146 /Makefile.in
parent5149d9a729255e8d900d70deb688a51ecd3e1cf1 (diff)
downloadotp-4bcf607bf9ce573790cd1a98c612fd894f938d2b.tar.gz
otp-4bcf607bf9ce573790cd1a98c612fd894f938d2b.tar.bz2
otp-4bcf607bf9ce573790cd1a98c612fd894f938d2b.zip
Include test_servers's include files in the bootstrap
To make it possible to use -include_lib to include the include files for test_server, those include files must be included in the bootstrap directory.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 107bf80bb5..a3020053a4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -441,6 +441,8 @@ fourth_bootstrap_copy:
if test ! -d $(BOOTSTRAP_ROOT)/bootstrap/lib/wx ; then mkdir $(BOOTSTRAP_ROOT)/bootstrap/lib/wx ; fi
if test ! -d $(BOOTSTRAP_ROOT)/bootstrap/lib/wx/ebin ; then mkdir $(BOOTSTRAP_ROOT)/bootstrap/lib/wx/ebin ; fi
if test ! -d $(BOOTSTRAP_ROOT)/bootstrap/lib/wx/include ; then mkdir $(BOOTSTRAP_ROOT)/bootstrap/lib/wx/include ; fi
+ if test ! -d $(BOOTSTRAP_ROOT)/bootstrap/lib/test_server ; then mkdir $(BOOTSTRAP_ROOT)/bootstrap/lib/test_server ; fi
+ if test ! -d $(BOOTSTRAP_ROOT)/bootstrap/lib/test_server/include ; then mkdir $(BOOTSTRAP_ROOT)/bootstrap/lib/test_server/include ; fi
for x in lib/ic/ebin/*.beam; do \
BN=`basename $$x`; \
TF=$(BOOTSTRAP_ROOT)/bootstrap/lib/ic/ebin/$$BN; \
@@ -506,6 +508,16 @@ fourth_bootstrap_copy:
cp $$x $$TF; \
true; \
done
+ for x in lib/test_server/include/*.hrl; do \
+ BN=`basename $$x`; \
+ TF=$(BOOTSTRAP_ROOT)/bootstrap/lib/test_server/include/$$BN; \
+ test -f $$TF && \
+ test '!' -z "`find $$x -newer $$TF -print`" && \
+ cp $$x $$TF; \
+ test '!' -f $$TF && \
+ cp $$x $$TF; \
+ true; \
+ done
# cp lib/syntax_tools/ebin/*.beam $(BOOTSTRAP_ROOT)/bootstrap/lib/syntax_tools/ebin