diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-12-12 11:01:51 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-12-13 13:20:08 +0100 |
commit | 2abb55b73522ccd8f08847d26c06769ec2eecc27 (patch) | |
tree | fad3ae044a3c992558f9956d2ad776dc26b4bb1c /docs-xml/configure.ac | |
parent | 00d3019262544a730929fab2d525b23efe226906 (diff) | |
download | samba-2abb55b73522ccd8f08847d26c06769ec2eecc27.tar.gz |
docs-xml: autogenerate a doc.version XML entity.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9531
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'docs-xml/configure.ac')
-rw-r--r-- | docs-xml/configure.ac | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs-xml/configure.ac b/docs-xml/configure.ac index fe889a2f33a..8c26692630b 100644 --- a/docs-xml/configure.ac +++ b/docs-xml/configure.ac @@ -55,4 +55,12 @@ fi AC_SUBST(TARGETS) -AC_OUTPUT( Makefile.settings build/catalog.xml) +if test x"$DOC_VERSION" = x; then + AC_MSG_ERROR([Please export DOC_VERSION variable]) +else + AC_MSG_RESULT([DOC_VERSION: ${DOC_VERSION}]) +fi + +doc_version="${DOC_VERSION}" +AC_SUBST(doc_version) +AC_OUTPUT( Makefile.settings build/catalog.xml build/DTD/samba.build.version) |