mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
33a2716a85
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new Makefile.am: Auto merged client/mysqltest.c: Auto merged configure.in: Auto merged extra/Makefile.am: Auto merged include/Makefile.am: Auto merged include/my_global.h: Auto merged libmysqld/examples/Makefile.am: Auto merged mysql-test/Makefile.am: Auto merged mysql-test/r/ndb_alter_table.result: Auto merged mysql-test/t/ndb_alter_table.test: Auto merged scripts/Makefile.am: Auto merged sql/Makefile.am: Auto merged sql/field.cc: Auto merged sql/ha_federated.cc: Auto merged sql/ha_federated.h: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_myisammrg.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.cc: Auto merged sql/item.cc: Auto merged sql/item_subselect.cc: Auto merged sql/key.cc: Auto merged sql/log.cc: Auto merged sql/log_event.cc: Auto merged sql/mysqld.cc: Auto merged sql/opt_range.cc: Auto merged sql/repl_failsafe.cc: Auto merged sql/slave.cc: Auto merged sql/sp.cc: Auto merged sql/sp_head.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_cache.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_load.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/sql_repl.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged sql/structs.h: Auto merged sql/table.cc: Auto merged sql/tztime.cc: Auto merged storage/myisam/myisamchk.c: Auto merged storage/myisam/myisampack.c: Auto merged storage/ndb/docs/Makefile.am: Auto merged support-files/mysql.spec.sh: Auto merged libmysqld/Makefile.am: Merged from 5.0 to 5.1. sql/ha_berkeley.cc: Merged from 5.0 to 5.1. sql/lex.h: Merged from 5.0 to 5.1. sql/set_var.cc: Merged from 5.0 to 5.1. sql/share/errmsg.txt: Merged from 5.0 to 5.1. sql/sql_lex.h: Merged from 5.0 to 5.1. sql/sql_show.cc: Merged from 5.0 to 5.1. sql/sql_yacc.yy: Merged from 5.0 to 5.1.
114 lines
3.2 KiB
Makefile
114 lines
3.2 KiB
Makefile
DOXYDIR = doxygen
|
|
noinst_HEADERS = $(DOXYDIR)/predoxy.pl $(DOXYDIR)/postdoxy.pl $(DOXYDIR)/Doxyfile.ndbapi $(DOXYDIR)/Doxyfile.mgmapi $(DOXYDIR)/header.ndbapi.tex $(DOXYDIR)/header.mgmapi.tex
|
|
|
|
all-local: do-check-html ndbapidoc-html mgmapidoc-html
|
|
all-pdf: do-check-pdf ndbapidoc-pdf mgmapidoc-pdf
|
|
|
|
DOXYTMP = .doxytmp
|
|
DOXYOUT = .doxyout
|
|
|
|
NDB_RELEASE = @NDB_VERSION_MAJOR@.@NDB_VERSION_MINOR@.@NDB_VERSION_BUILD@-@NDB_VERSION_STATUS@
|
|
|
|
clean-local:
|
|
rm -rf ndbapi.pdf ndbapi.html mgmapi.pdf mgmapi.html
|
|
rm -rf $(DOXYTMP) $(DOXYOUT)
|
|
|
|
do-check-html:
|
|
@set -x; \
|
|
if test @PERL@ = no ; then \
|
|
echo "Perl needed to make docs"; \
|
|
exit 1; \
|
|
fi; \
|
|
if test @DOXYGEN@ = no ; then \
|
|
echo "Doxygen needed to make docs"; \
|
|
exit 1; \
|
|
fi;
|
|
|
|
do-check-pdf: do-check-html
|
|
if test @PDFLATEX@ = no ; then \
|
|
echo "Pdflatex needed to make docs"; \
|
|
exit 1; \
|
|
fi; \
|
|
if test @MAKEINDEX@ = no ; then \
|
|
echo "Makeindex needed to make docs"; \
|
|
exit 1; \
|
|
fi;
|
|
|
|
###
|
|
#
|
|
# NDB API Programmer's Guide
|
|
#
|
|
ndbapidoc-html: ndbapi.html
|
|
ndbapidoc-pdf: ndbapi.pdf
|
|
|
|
ndbapi.html: $(noinst_HEADERS)
|
|
@set -x; \
|
|
export NDB_RELEASE=$(NDB_RELEASE); \
|
|
@RM@ -f ndbapi.pdf ndbapi.html; \
|
|
@RM@ -rf $(DOXYTMP) $(DOXYOUT); \
|
|
mkdir -p $(DOXYTMP) $(DOXYOUT); \
|
|
@CP@ $(top_srcdir)/storage/ndb/include/ndbapi/* $(DOXYTMP); \
|
|
@CP@ $(top_srcdir)/storage/ndb/ndbapi-examples/*/*.[ch]pp $(DOXYTMP); \
|
|
@PERL@ $(DOXYDIR)/predoxy.pl; \
|
|
mv footer.html $(DOXYTMP); \
|
|
(cd $(DOXYTMP) ; @DOXYGEN@ ../$(DOXYDIR)/Doxyfile.ndbapi); \
|
|
@PERL@ $(DOXYDIR)/postdoxy.pl $(DOXYOUT)/ndbapi.latex "MySQL Cluster NDB API Programmer Guide"; \
|
|
(cd $(DOXYOUT) && \
|
|
find ndbapi.html -print | cpio -pdm ..);
|
|
|
|
ndbapi.pdf: ndbapi.html
|
|
(cd $(DOXYOUT)/ndbapi.latex && \
|
|
@PDFLATEX@ refman.tex && @MAKEINDEX@ refman && @PDFLATEX@ refman.tex && \
|
|
cp -p refman.pdf ../../ndbapi.pdf);
|
|
|
|
###
|
|
#
|
|
# MGM API Guide
|
|
#
|
|
mgmapidoc-html: mgmapi.html
|
|
mgmapidoc-pdf: mgmapi.pdf
|
|
|
|
mgmapi.html: $(noinst_HEADERS)
|
|
@set -x; \
|
|
export NDB_RELEASE=$(NDB_RELEASE); \
|
|
@RM@ -f mgmapi.pdf mgmapi.html; \
|
|
@RM@ -rf $(DOXYTMP) $(DOXYOUT); \
|
|
mkdir -p $(DOXYTMP) $(DOXYOUT); \
|
|
@CP@ $(top_srcdir)/storage/ndb/include/mgmapi/* $(DOXYTMP); \
|
|
@PERL@ $(DOXYDIR)/predoxy.pl; \
|
|
mv footer.html $(DOXYTMP); \
|
|
(cd $(DOXYTMP) ; @DOXYGEN@ ../$(DOXYDIR)/Doxyfile.mgmapi); \
|
|
@PERL@ $(DOXYDIR)/postdoxy.pl $(DOXYOUT)/mgmapi.latex "MySQL Cluster MGM API Guide"; \
|
|
(cd $(DOXYOUT) && \
|
|
find mgmapi.html -print | cpio -pdm ..);
|
|
|
|
mgmapi.pdf: mgmapi.html
|
|
(cd $(DOXYOUT)/mgmapi.latex && \
|
|
@PDFLATEX@ refman.tex && @MAKEINDEX@ refman && @PDFLATEX@ refman.tex && \
|
|
cp -p refman.pdf ../../mgmapi.pdf);
|
|
|
|
###
|
|
#
|
|
# Complete Source Browser except for
|
|
# ndbapi odbc test tools win32 lib examples docs CVS config bin
|
|
# include/ndbapi
|
|
# include/newtonapi src/newtonapi
|
|
# include/mgmapi src/mgmapi
|
|
# src/client
|
|
ndbdoc: DUMMY
|
|
mkdir -p $(OUTDIR)
|
|
cd $(top_srcdir)/storage/ndb ; $(DOXYGEN) $(DOXYDIR)/Doxyfile.ndb
|
|
|
|
###
|
|
#
|
|
# odbcdoc - Complete Source Browser for NDB ODBC (src/client/odbc)
|
|
|
|
odbcdoc: DUMMY
|
|
mkdir -p $(OUTDIR)
|
|
cd $(top_srcdir)/storage/ndb ; $(DOXYGEN) $(DOXYDIR)/Doxyfile.odbc
|
|
|
|
testdoc: DUMMY
|
|
mkdir -p $(OUTDIR)
|
|
cd $(top_srcdir)/storage/ndb ; $(DOXYGEN) $(DOXYDIR)/Doxyfile.test
|
|
|
|
windoze-dsp:
|