aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-19 15:46:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-19 15:55:47 +0300
commit8d5f3b003d539f86ab71e168751e2df1142ac086 (patch)
treef9b3d45f2fb998a7b61bf1ed58c3a9e22605d3cd
parent53516adbcf4824cc91be5010e8c6299711bb270e (diff)
Get rid of doc{version} and types for testscript and manifest in buildfiles
-rw-r--r--.gitignore4
-rw-r--r--buildfile12
-rw-r--r--libbrep/buildfile2
-rw-r--r--web/buildfile2
4 files changed, 3 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 1943e34..cad5233 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,3 @@
*.exe.dlls/
*.exe.manifest
*.pc
-
-# Generated version.
-#
-version
diff --git a/buildfile b/buildfile
index 0204de3..944c7c6 100644
--- a/buildfile
+++ b/buildfile
@@ -2,17 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: {*/ -build/ -web/} \
- doc{LICENSE NEWS README INSTALL* version} \
- file{manifest}
-
-# The version file is auto-generated (by the version module) from manifest.
-# Include it in distribution and don't remove when cleaning in src (so that
-# clean results in a state identical to distributed).
-#
-doc{version}: file{manifest}
-doc{version}: dist = true
-doc{version}: clean = ($src_root != $out_root)
+./: {*/ -build/ -web/} doc{LICENSE NEWS README INSTALL*} manifest
# Don't install tests or the INSTALL* files.
#
diff --git a/libbrep/buildfile b/libbrep/buildfile
index 2a87403..7f6129b 100644
--- a/libbrep/buildfile
+++ b/libbrep/buildfile
@@ -29,7 +29,7 @@ lib{brep}: \
# pick up an installed one) and don't remove it when cleaning in src (so that
# clean results in a state identical to distributed).
#
-hxx{version}: in{version} $src_root/file{manifest}
+hxx{version}: in{version} $src_root/manifest
hxx{version}: dist = true
hxx{version}: clean = ($src_root != $out_root)
diff --git a/web/buildfile b/web/buildfile
index c4e91c8..862170b 100644
--- a/web/buildfile
+++ b/web/buildfile
@@ -13,6 +13,6 @@ import libs += libbutl%lib{butl}
libus{web}: {hxx ixx txx cxx}{** -version} {hxx}{version} $libs
-hxx{version}: in{version} $src_root/file{manifest}
+hxx{version}: in{version} $src_root/manifest
{hxx ixx txx}{*}: install = false