diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-19 17:46:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-19 17:46:56 +0300 |
commit | 469879f6160bc80fdd7dbedb577c7741adf2be4b (patch) | |
tree | c301a4cfccb49256bc9a9f1e1971b280c2c5ba42 | |
parent | 0a83358c046a2c83d07fc87ac23708a4f9032167 (diff) |
Get rid of doc{version} and types for testscript and manifest in buildfiles
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | buildfile | 10 | ||||
-rw-r--r-- | libpq/buildfile | 2 | ||||
-rw-r--r-- | tests/conninfo/buildfile | 2 |
4 files changed, 3 insertions, 15 deletions
@@ -13,7 +13,3 @@ *.exe.dlls/ *.exe.manifest *.pc - -# Generated version. -# -version @@ -2,15 +2,7 @@ # copyright : Copyright (c) 2016-2017 Code Synthesis Ltd # license : PostgreSQL License; see accompanying COPYRIGHT file -./: {*/ -build/} doc{COPYRIGHT INSTALL 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{COPYRIGHT INSTALL README} manifest # Don't install tests or the INSTALL file. # diff --git a/libpq/buildfile b/libpq/buildfile index 87000d9..6555bad 100644 --- a/libpq/buildfile +++ b/libpq/buildfile @@ -37,7 +37,7 @@ else # The version file is an internal one (it is only included from # postgresql/pg_config.h) so we don't distribute nor install it (see below). # -h{version}: in{version} $src_root/file{manifest} +h{version}: in{version} $src_root/manifest c.poptions += -DFRONTEND -DUNSAFE_STAT_OK -DSO_MAJOR_VERSION=$abi_major diff --git a/tests/conninfo/buildfile b/tests/conninfo/buildfile index 3ba850b..0c0682b 100644 --- a/tests/conninfo/buildfile +++ b/tests/conninfo/buildfile @@ -7,7 +7,7 @@ # import libs = libpq%lib{pq} -exe{driver}: {h c}{* -uri-regress} $libs test{testscript} \ +exe{driver}: {h c}{* -uri-regress} $libs testscript \ file{uri-regress.c regress.in expected.out} c.poptions =+ "-I$src_base" |