summaryrefslogtreecommitdiff
path: root/libprint/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'libprint/buildfile')
-rw-r--r--libprint/buildfile23
1 files changed, 5 insertions, 18 deletions
diff --git a/libprint/buildfile b/libprint/buildfile
index f7d8a74..5dd2544 100644
--- a/libprint/buildfile
+++ b/libprint/buildfile
@@ -1,21 +1,8 @@
-lib{print}: {hxx cxx}{print} hxx{export}
+./: libprint/ tests/ doc{version} file{manifest}
-# For pre-releases use the complete version to make sure they cannot be used
-# in place of another pre-release or the final version.
-#
-if $version.pre_release
- lib{print}: bin.lib.version = @"-$version.project_id"
-else
- lib{print}: bin.lib.version = @"-$version.major.$version.minor"
-
-cxx.poptions =+ "-I$out_root" "-I$src_root"
-obja{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD
-objs{*}: cxx.poptions += -DLIBPRINT_SHARED_BUILD
-
-lib{print}: cxx.export.poptions = "-I$out_root" "-I$src_root"
-liba{print}: cxx.export.poptions += -DLIBPRINT_STATIC
-libs{print}: cxx.export.poptions += -DLIBPRINT_SHARED
+doc{version}: file{manifest} # Generated by the version module.
+doc{version}: dist = true
-# Install into the libprint/ subdirectory of, say, /usr/include/.
+# Don't install tests.
#
-install.include = $install.include/libprint/
+dir{tests/}: install = false