Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
046f5eda
Commit
046f5eda
authored
Dec 23, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated makefile so that default is to only make html docs
to make pdf do "make all-pdf"
parent
749612be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
ndb/docs/Makefile.am
ndb/docs/Makefile.am
+16
-6
No files found.
ndb/docs/Makefile.am
View file @
046f5eda
DOXYDIR
=
doxygen
DOXYDIR
=
doxygen
noinst_HEADERS
=
$(DOXYDIR)
/predoxy.pl
$(DOXYDIR)
/postdoxy.pl
$(DOXYDIR)
/Doxyfile.ndbapi
$(DOXYDIR)
/Doxyfile.mgmapi
$(DOXYDIR)
/header.ndbapi.tex
$(DOXYDIR)
/header.mgmapi.tex
noinst_HEADERS
=
$(DOXYDIR)
/predoxy.pl
$(DOXYDIR)
/postdoxy.pl
$(DOXYDIR)
/Doxyfile.ndbapi
$(DOXYDIR)
/Doxyfile.mgmapi
$(DOXYDIR)
/header.ndbapi.tex
$(DOXYDIR)
/header.mgmapi.tex
all
:
do-check ndbapidoc mgmapidoc
all
:
do-check-html ndbapidoc-html mgmapidoc-html
all-pdf
:
do-check-pdf ndbapidoc-pdf mgmapidoc-pdf
DOXYTMP
=
.doxytmp
DOXYTMP
=
.doxytmp
DOXYOUT
=
.doxyout
DOXYOUT
=
.doxyout
...
@@ -12,7 +13,7 @@ clean:
...
@@ -12,7 +13,7 @@ clean:
rm
-rf
ndbapi.pdf ndbapi.html mgmapi.pdf mgmapi.html
rm
-rf
ndbapi.pdf ndbapi.html mgmapi.pdf mgmapi.html
rm
-rf
$(DOXYTMP)
$(DOXYOUT)
rm
-rf
$(DOXYTMP)
$(DOXYOUT)
do-check
:
do-check
-html
:
@
set
-x
;
\
@
set
-x
;
\
if
test
@PERL@
=
no
;
then
\
if
test
@PERL@
=
no
;
then
\
echo
"Perl needed to make docs"
;
\
echo
"Perl needed to make docs"
;
\
...
@@ -22,6 +23,8 @@ do-check:
...
@@ -22,6 +23,8 @@ do-check:
echo
"Doxygen needed to make docs"
;
\
echo
"Doxygen needed to make docs"
;
\
exit
1
;
\
exit
1
;
\
fi
;
\
fi
;
\
do-check-pdf
:
do-check-html
if
test
@PDFLATEX@
=
no
;
then
\
if
test
@PDFLATEX@
=
no
;
then
\
echo
"Pdflatex needed to make docs"
;
\
echo
"Pdflatex needed to make docs"
;
\
exit
1
;
\
exit
1
;
\
...
@@ -30,13 +33,15 @@ do-check:
...
@@ -30,13 +33,15 @@ do-check:
echo
"Makeindex needed to make docs"
;
\
echo
"Makeindex needed to make docs"
;
\
exit
1
;
\
exit
1
;
\
fi
;
fi
;
###
###
#
#
# NDB API Programmer's Guide
# NDB API Programmer's Guide
#
#
ndbapidoc
:
ndbapi.pdf
ndbapidoc-html
:
ndbapi.html
ndbapidoc-pdf
:
ndbapi.pdf
ndbapi.
pdf
:
$(noinst_HEADERS)
ndbapi.
html
:
$(noinst_HEADERS)
@
set
-x
;
\
@
set
-x
;
\
export
NDB_RELEASE
=
$(NDB_RELEASE)
\
export
NDB_RELEASE
=
$(NDB_RELEASE)
\
@RM@
-f
ndbapi.pdf ndbapi.html
;
\
@RM@
-f
ndbapi.pdf ndbapi.html
;
\
...
@@ -50,6 +55,8 @@ ndbapi.pdf: $(noinst_HEADERS)
...
@@ -50,6 +55,8 @@ ndbapi.pdf: $(noinst_HEADERS)
@PERL@
$(DOXYDIR)
/postdoxy.pl
$(DOXYOUT)
/ndbapi.latex
"NDB API Programmer Guide"
;
\
@PERL@
$(DOXYDIR)
/postdoxy.pl
$(DOXYOUT)
/ndbapi.latex
"NDB API Programmer Guide"
;
\
(
cd
$(DOXYOUT)
&&
\
(
cd
$(DOXYOUT)
&&
\
find ndbapi.html
-print
| cpio
-pdm
..
)
;
\
find ndbapi.html
-print
| cpio
-pdm
..
)
;
\
ndbapi.pdf
:
ndbapi.html
(
cd
$(DOXYOUT)
/ndbapi.latex
&&
\
(
cd
$(DOXYOUT)
/ndbapi.latex
&&
\
@PDFLATEX@ refman.tex
&&
@MAKEINDEX@ refman
&&
@PDFLATEX@ refman.tex
&&
\
@PDFLATEX@ refman.tex
&&
@MAKEINDEX@ refman
&&
@PDFLATEX@ refman.tex
&&
\
cp
-p
refman.pdf ../../ndbapi.pdf
)
;
cp
-p
refman.pdf ../../ndbapi.pdf
)
;
...
@@ -58,9 +65,10 @@ ndbapi.pdf: $(noinst_HEADERS)
...
@@ -58,9 +65,10 @@ ndbapi.pdf: $(noinst_HEADERS)
#
#
# MGM API Guide
# MGM API Guide
#
#
mgmapidoc
:
mgmapi.pdf
mgmapidoc-html
:
mgmapi.html
mgmapidoc-pdf
:
mgmapi.pdf
mgmapi.
pdf
:
$(noinst_HEADERS)
mgmapi.
html
:
$(noinst_HEADERS)
@
set
-x
;
\
@
set
-x
;
\
export
NDB_RELEASE
=
$(NDB_RELEASE)
\
export
NDB_RELEASE
=
$(NDB_RELEASE)
\
@RM@
-f
mgmapi.pdf mgmapi.html
;
\
@RM@
-f
mgmapi.pdf mgmapi.html
;
\
...
@@ -73,6 +81,8 @@ mgmapi.pdf: $(noinst_HEADERS)
...
@@ -73,6 +81,8 @@ mgmapi.pdf: $(noinst_HEADERS)
@PERL@
$(DOXYDIR)
/postdoxy.pl
$(DOXYOUT)
/mgmapi.latex
"NDB Cluster MGM API Guide"
;
\
@PERL@
$(DOXYDIR)
/postdoxy.pl
$(DOXYOUT)
/mgmapi.latex
"NDB Cluster MGM API Guide"
;
\
(
cd
$(DOXYOUT)
&&
\
(
cd
$(DOXYOUT)
&&
\
find mgmapi.html
-print
| cpio
-pdm
..
)
;
\
find mgmapi.html
-print
| cpio
-pdm
..
)
;
\
mgmapi.pdf
:
mgmapi.html
(
cd
$(DOXYOUT)
/mgmapi.latex
&&
\
(
cd
$(DOXYOUT)
/mgmapi.latex
&&
\
@PDFLATEX@ refman.tex
&&
@MAKEINDEX@ refman
&&
@PDFLATEX@ refman.tex
&&
\
@PDFLATEX@ refman.tex
&&
@MAKEINDEX@ refman
&&
@PDFLATEX@ refman.tex
&&
\
cp
-p
refman.pdf ../../mgmapi.pdf
)
;
cp
-p
refman.pdf ../../mgmapi.pdf
)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment