mirror of
https://github.com/MariaDB/server.git
synced 2025-10-27 05:56:07 +03:00
Docs/Makefile.am:
PDF Manual now has Indexes. Docs/manual.texi: Added stub and conditionals for removing GPL and LGPL from NuSphere manual.
This commit is contained in:
@@ -58,14 +58,18 @@ manual.html: manual.texi include.texi $(srcdir)/Support/texi2html
|
|||||||
|
|
||||||
# Fix: add --output-comment with some interesting info?
|
# Fix: add --output-comment with some interesting info?
|
||||||
# Fix: @image worked with a older version of pdftex.
|
# Fix: @image worked with a older version of pdftex.
|
||||||
|
# Note: @image will work if we first convert all images to pdf ...
|
||||||
|
# is that worth it?
|
||||||
# Comment: We need to run pdftex 2 times to get the cross references right.
|
# Comment: We need to run pdftex 2 times to get the cross references right.
|
||||||
manual.pdf: manual.texi
|
manual.pdf: manual.texi
|
||||||
cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi; \
|
cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi
|
||||||
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
|
texindex manual-tmp.??
|
||||||
'\input manual-tmp.texi'; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
mv manual-tmp.pdf manual.pdf; \
|
texindex manual-tmp.??
|
||||||
rm -f manual-tmp.* ; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
|
mv manual-tmp.pdf manual.pdf
|
||||||
|
rm -f manual-tmp.*
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
# Target to produce NuSphere Manual
|
# Target to produce NuSphere Manual
|
||||||
@@ -75,12 +79,14 @@ nusphere.pdf: manual.texi
|
|||||||
-e 's/@end example/@end smallexample/g' \
|
-e 's/@end example/@end smallexample/g' \
|
||||||
-e 's/@c ifnusphere //g' \
|
-e 's/@c ifnusphere //g' \
|
||||||
-e 's|@image{[^}]*} *||g' \
|
-e 's|@image{[^}]*} *||g' \
|
||||||
> manual-tmp.texi; \
|
> manual-tmp.texi
|
||||||
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
|
texindex manual-tmp.??
|
||||||
'\input manual-tmp.texi'; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
mv manual-tmp.pdf nusphere.pdf; \
|
texindex manual-tmp.??
|
||||||
rm -f manual-tmp.* ; \
|
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||||
|
mv manual-tmp.pdf nusphere.pdf
|
||||||
|
rm -f manual-tmp.*
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
# The texi2dvi gives a lot of harmless errors. Just ignore them unless
|
# The texi2dvi gives a lot of harmless errors. Just ignore them unless
|
||||||
|
|||||||
@@ -42348,6 +42348,16 @@ All new development is concentrated to @strong{MySQL}.
|
|||||||
|
|
||||||
@page
|
@page
|
||||||
@c This node name is special
|
@c This node name is special
|
||||||
|
|
||||||
|
@ifset nusphere
|
||||||
|
@node GPL license, LGPL license, Unireg, Top
|
||||||
|
@appendix GNU General Public License
|
||||||
|
|
||||||
|
The GPL License can be found at ...
|
||||||
|
|
||||||
|
@end ifset
|
||||||
|
|
||||||
|
@ifclear nusphere
|
||||||
@node GPL license, LGPL license, Unireg, Top
|
@node GPL license, LGPL license, Unireg, Top
|
||||||
@appendix GNU General Public License
|
@appendix GNU General Public License
|
||||||
|
|
||||||
@@ -42693,8 +42703,19 @@ library. If this is what you want to do, use the GNU Library General
|
|||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
|
||||||
@end example
|
@end example
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
@page
|
@page
|
||||||
|
|
||||||
|
@ifset nusphere
|
||||||
|
@node LGPL license, Function Index, GPL license, Top
|
||||||
|
@appendix GNU Library General Public License
|
||||||
|
|
||||||
|
The LGPL License can be found at ...
|
||||||
|
|
||||||
|
@end ifset
|
||||||
|
|
||||||
|
@ifclear nusphere
|
||||||
@node LGPL license, Function Index, GPL license, Top
|
@node LGPL license, Function Index, GPL license, Top
|
||||||
@appendix GNU Library General Public License
|
@appendix GNU Library General Public License
|
||||||
|
|
||||||
@@ -43181,6 +43202,7 @@ necessary. Here is a sample; alter the names:
|
|||||||
|
|
||||||
That's all there is to it!
|
That's all there is to it!
|
||||||
@end example
|
@end example
|
||||||
|
@end ifclear
|
||||||
|
|
||||||
@node Function Index, Concept Index, LGPL license, Top
|
@node Function Index, Concept Index, LGPL license, Top
|
||||||
@unnumbered SQL command, type and function index
|
@unnumbered SQL command, type and function index
|
||||||
|
|||||||
Reference in New Issue
Block a user