aboutsummaryrefslogtreecommitdiff
path: root/libstudxml/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-08-24 15:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-08-24 15:57:53 +0300
commitadf1a3a0ee6af83dd1ae645dd38122dee121029f (patch)
tree8d09763679a696bfe3eb0d15714994a3428ad1a3 /libstudxml/buildfile
parente4ff3afb34f5fcad6374fa2555d65eb2a0f9f423 (diff)
Add version.hxx back into distribution and don't clean it up from src
Diffstat (limited to 'libstudxml/buildfile')
-rw-r--r--libstudxml/buildfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstudxml/buildfile b/libstudxml/buildfile
index b92815d..40c33d3 100644
--- a/libstudxml/buildfile
+++ b/libstudxml/buildfile
@@ -23,7 +23,13 @@ details/expat/doc{LICENSE}@./: install = doc/EXPAT-LICENSE
#
lib{studxml}: details/genx/{h{*} c{*} doc{LICENSE README}}
+# Include the generated version header into the distribution (so that we don't
+# 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}: dist = true
+hxx{version}: clean = ($src_root != $out_root)
details/genx/doc{README}@./: install = false
details/genx/doc{LICENSE}@./: install = doc/GENX-LICENSE