commit 8cae78edd2ea6faf163b4164264fca71a11188ff
parent db6f8edf18c1d3bbbd37c425f4038b3c559e1da6
Author: Kyle Milz <kyle@0x30.net>
Date: Fri, 8 Jul 2016 23:12:28 -0600
share: clean up Jamfile a bit, remove cc and gcc
Diffstat:
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/share/Jamfile b/share/Jamfile
@@ -1,9 +1,12 @@
SubDir TOP share ;
+rule InstallCompilerSyms {
+ Depends install : $(1) ;
+}
+
actions InstallCompilerSyms
{
- mkdir $(PREFIX)/share
- mkdir $(PREFIX)/share/citrun
+ mkdir -p $(PREFIX)/share/citrun
ln -s ../../bin/citrun-inst $(PREFIX)/share/citrun/cc
ln -s ../../bin/citrun-inst $(PREFIX)/share/citrun/gcc
ln -s ../../bin/citrun-inst $(PREFIX)/share/citrun/egcc
@@ -14,4 +17,9 @@ actions InstallCompilerSyms
ln -s ../../bin/citrun-inst $(PREFIX)/share/citrun/clang++
}
-InstallCompilerSyms install : ;
+# These are used for in-tree testing
+SoftLink $(TOP)/share/cc : $(PREFIX)/src/citrun-inst ;
+SoftLink $(TOP)/share/gcc : $(PREFIX)/src/citrun-inst ;
+
+# This is a completely different set generated at install time
+InstallCompilerSyms $(PREFIX)/share/citrun : cc gcc ;
diff --git a/share/cc b/share/cc
@@ -1 +0,0 @@
-../src/citrun-inst
-\ No newline at end of file
diff --git a/share/gcc b/share/gcc
@@ -1 +0,0 @@
-../src/citrun-inst
-\ No newline at end of file