summaryrefslogtreecommitdiff
path: root/Docs/Support
diff options
context:
space:
mode:
authorunknown <arjen@fred.bitbike.com>2002-04-26 14:35:15 +1000
committerunknown <arjen@fred.bitbike.com>2002-04-26 14:35:15 +1000
commit0c83caeeced1f962dfe3559de689789543d0757a (patch)
tree92c4ec629d28167fcffd7faf6f388f18178bcfa2 /Docs/Support
parent1602fa04b4739c114e3d76dc1bfb8b3a6bb8a7cd (diff)
downloadmariadb-git-0c83caeeced1f962dfe3559de689789543d0757a.tar.gz
Change XML/DocBook output to have version #.## instead of #.##-alpha.
Add URL reference to "Enforcing the GPL" article. Removed duplicate SQL_BUFFER_RESULT/SQL_SMALL_RESULT texts (reported by Fournier Jocelyn). Docs/Support/make-docbook: Change XML/DocBook output to have version #.## instead of #.##-alpha. Docs/manual.texi: Add URL reference to "Enforcing the GPL" article. Removed duplicate SQL_BUFFER_RESULT/SQL_SMALL_RESULT texts (reported by Fournier Jocelyn).
Diffstat (limited to 'Docs/Support')
-rwxr-xr-xDocs/Support/make-docbook6
1 files changed, 5 insertions, 1 deletions
diff --git a/Docs/Support/make-docbook b/Docs/Support/make-docbook
index bdca812d7ab..90c1696e92b 100755
--- a/Docs/Support/make-docbook
+++ b/Docs/Support/make-docbook
@@ -6,8 +6,12 @@
#create include.texi with version/port #
echo "@c This file is autogenerated by the Makefile" > include.texi
echo -n "@set mysql_version " >> include.texi
+# grep "AM_INIT_AUTOMAKE(mysql, " ../configure.in | \
+# sed -e 's;AM_INIT_AUTOMAKE(mysql, ;;' -e 's;);;' >> include.texi
+# 2002-04-26 arjen - the below just picks #.# instead of #.#.#-alpha
+# (code by mwagner - tnx)
grep "AM_INIT_AUTOMAKE(mysql, " ../configure.in | \
- sed -e 's;AM_INIT_AUTOMAKE(mysql, ;;' -e 's;);;' >> include.texi
+ perl -p -e 's/AM_INIT_AUTOMAKE\(mysql,\s(\d+\.\d+)\..+/$1/' >> include.texi
echo -n "@set default_port " >> include.texi
grep "MYSQL_TCP_PORT_DEFAULT=" ../configure.in | \
sed -e 's;MYSQL_TCP_PORT_DEFAULT=;;' >> include.texi