aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-19 15:29:54 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-19 16:00:14 +0300
commit52e7c38c18e5b627acc67f0977e7240d0f60cd8f (patch)
tree986d91e4438a5ba62fae6fbdf925ac72363219cd
parent6931b4f6c007e68584c15483529e2293ca68a007 (diff)
Get rid of doc{version} and types for testscript and manifest in buildfiles
-rw-r--r--.gitignore4
-rw-r--r--bdep/buildfile2
-rw-r--r--buildfile10
3 files changed, 2 insertions, 14 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/bdep/buildfile b/bdep/buildfile
index efb747f..0a7861b 100644
--- a/bdep/buildfile
+++ b/bdep/buildfile
@@ -41,7 +41,7 @@ exe{bdep}: \
{hxx ixx cxx}{project-odb database-views-odb} \
{hxx}{version} $libs
-hxx{version}: in{version} $src_root/file{manifest}
+hxx{version}: in{version} $src_root/manifest
obj{utility}: cxx.poptions += -DBDEP_EXE_SUFFIX='"'$bin.exe.suffix'"'
diff --git a/buildfile b/buildfile
index 2a5ec7a..fae51a6 100644
--- a/buildfile
+++ b/buildfile
@@ -2,15 +2,7 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-./: {*/ -build/} doc{INSTALL LICENSE NEWS README 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/} doc{INSTALL LICENSE NEWS README} manifest
# Don't install tests or the INSTALL file.
#