summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-10 12:41:00 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-10 12:41:00 +0000
commit0652a9923aa26ffb22edb7df30fc4ca237cab70c (patch)
tree4363597c29edbcff83f71bbf884ce45bb204f066
parentAdd example configurations (diff)
downloadmirrorsearch-0652a9923aa26ffb22edb7df30fc4ca237cab70c.tar.bz2
mirrorsearch-0652a9923aa26ffb22edb7df30fc4ca237cab70c.tar.xz
mirrorsearch-0652a9923aa26ffb22edb7df30fc4ca237cab70c.zip
Configure install rules
-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 ;
-
-