mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01: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:
parent
73af125e75
commit
b85d391492
2 changed files with 40 additions and 12 deletions
|
@ -58,14 +58,18 @@ manual.html: manual.texi include.texi $(srcdir)/Support/texi2html
|
|||
|
||||
# Fix: add --output-comment with some interesting info?
|
||||
# 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.
|
||||
manual.pdf: manual.texi
|
||||
cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi; \
|
||||
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
|
||||
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
|
||||
'\input manual-tmp.texi'; \
|
||||
mv manual-tmp.pdf manual.pdf; \
|
||||
rm -f manual-tmp.* ; \
|
||||
cat manual.texi | sed -e 's|@image{[^}]*} *||g' > manual-tmp.texi
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
texindex manual-tmp.??
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
texindex manual-tmp.??
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
mv manual-tmp.pdf manual.pdf
|
||||
rm -f manual-tmp.*
|
||||
touch $@
|
||||
|
||||
# Target to produce NuSphere Manual
|
||||
|
@ -75,12 +79,14 @@ nusphere.pdf: manual.texi
|
|||
-e 's/@end example/@end smallexample/g' \
|
||||
-e 's/@c ifnusphere //g' \
|
||||
-e 's|@image{[^}]*} *||g' \
|
||||
> manual-tmp.texi; \
|
||||
pdftex --interaction=nonstopmode '\input manual-tmp.texi'; \
|
||||
pdftex --interaction=nonstopmode '\pdfcompresslevel=9' \
|
||||
'\input manual-tmp.texi'; \
|
||||
mv manual-tmp.pdf nusphere.pdf; \
|
||||
rm -f manual-tmp.* ; \
|
||||
> manual-tmp.texi
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
texindex manual-tmp.??
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
texindex manual-tmp.??
|
||||
pdftex --interaction=nonstopmode manual-tmp.texi
|
||||
mv manual-tmp.pdf nusphere.pdf
|
||||
rm -f manual-tmp.*
|
||||
touch $@
|
||||
|
||||
# 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
|
||||
@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
|
||||
@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.
|
||||
|
||||
@end example
|
||||
@end ifclear
|
||||
|
||||
@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
|
||||
@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!
|
||||
@end example
|
||||
@end ifclear
|
||||
|
||||
@node Function Index, Concept Index, LGPL license, Top
|
||||
@unnumbered SQL command, type and function index
|
||||
|
|
Loading…
Reference in a new issue