aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-10 18:20:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-12 12:27:33 +0300
commitbfd63c8ec0e060c8c28bd3fc6acf9af4460bc208 (patch)
treea215028a9b0f47d8ab647786b217e7648d691535 /mod
parentfcc9a368646a2a71c26a5e2935d6595587857f67 (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'mod')
-rw-r--r--mod/buildfile39
1 files changed, 7 insertions, 32 deletions
diff --git a/mod/buildfile b/mod/buildfile
index 616302c..db403ec 100644
--- a/mod/buildfile
+++ b/mod/buildfile
@@ -18,36 +18,11 @@ import libs += libbbot%lib{bbot}
include ../libbrep/
-mod{brep}: \
- {hxx cxx}{ build-config } \
- {hxx cxx}{ database } \
- {hxx cxx}{ database-module } \
- {hxx cxx}{ diagnostics } \
- {hxx cxx}{ mod-build-force } \
- {hxx cxx}{ mod-build-log } \
- {hxx cxx}{ mod-build-result } \
- {hxx cxx}{ mod-build-task } \
- {hxx cxx}{ mod-builds } \
- {hxx cxx}{ mod-package-details } \
- {hxx cxx}{ mod-package-search } \
- {hxx cxx}{ mod-package-version-details } \
- {hxx cxx}{ mod-repository-details } \
- {hxx cxx}{ mod-repository-root } \
- {hxx cxx}{ module } \
- {hxx ixx cxx}{ options } \
- {hxx }{ options-types } \
- {hxx cxx}{ page } \
- { cxx}{ services } \
- {hxx cxx}{ types-parsers } \
- ../web/{hxx cxx}{ mime-url-encoding } \
- ../web/{hxx }{ module } \
- ../web/{hxx }{ version } \
- ../web/{hxx }{ xhtml } \
- ../web/{hxx cxx}{ xhtml-fragment } \
-../web/apache/{hxx }{ log } \
-../web/apache/{hxx ixx cxx}{ request } \
-../web/apache/{hxx txx cxx}{ service } \
-../web/apache/{hxx }{ stream } \
+mod{brep}: {hxx ixx txx cxx}{* -options} \
+ {hxx ixx cxx}{ options} \
+ ../web/{hxx ixx txx cxx}{* -version} \
+ ../web/{hxx }{ version} \
+../web/apache/{hxx ixx txx cxx}{* } \
../libbrep/lib{brep} $libs
../web/hxx{version}: ../web/in{version} $src_root/file{manifest}
@@ -55,7 +30,7 @@ mod{brep}: \
# Don't install any of the module's headers.
#
-{hxx ixx txx}{*}: install = false
+ {hxx ixx txx}{*}: install = false
../web/{hxx ixx txx}{*}: install = false
# Generated options parser.
@@ -75,5 +50,5 @@ if $cli.configured
# Include generated cli files into the distribution.
#
- cli.cxx{options}: dist = true
+ cli.cxx{*}: dist = true
}