summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamroot.jam12
-rw-r--r--service/Jamfile.jam4
2 files changed, 12 insertions, 4 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 09a140e..d389b87 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -1,5 +1,6 @@
import os ;
import slice ;
+import package ;
using gcc : : [ os.environ CXX ] ;
@@ -19,6 +20,17 @@ project
build-project service ;
build-project site ;
+package.install install-bin : :
+ site//mirrorsearch-cgi
+ :
+ service//mirrorsearch-service
+ ;
+package.install-data install-site : . :
+ site/.htaccess
+ site/config/ice.properties
+ :
+ <install-source-root>site ;
+
# Some useful aliases
lib adhocutil : : : : <include>/usr/include/adhocutil ;
diff --git a/service/Jamfile.jam b/service/Jamfile.jam
index 6ed5c7d..3c2862d 100644
--- a/service/Jamfile.jam
+++ b/service/Jamfile.jam
@@ -1,5 +1,4 @@
import icetray ;
-import package ;
import testing ;
lib boost_utf : : <name>boost_unit_test_framework ;
@@ -96,6 +95,3 @@ run test.cpp
<implicit-dependency>mirrorsearch-service
;
-package.install install : : : mirrorsearch-service ;
-
-