|
From: <den...@us...> - 2010-07-24 16:15:36
|
Revision: 108
http://dsim.svn.sourceforge.net/dsim/?rev=108&view=rev
Author: denis_arnaud
Date: 2010-07-24 16:15:30 +0000 (Sat, 24 Jul 2010)
Log Message:
-----------
[Doc] Updated the tool for document generation (in order to produce PDF documents).
Modified Paths:
--------------
trunk/dsim/Makefile.am
trunk/dsim/doc/Makefile.am
trunk/dsim/doc/doxygen_html.cfg.in
Property Changed:
----------------
trunk/dsim/
Property changes on: trunk/dsim
___________________________________________________________________
Modified: svn:ignore
- autom4te.cache
configure.sh
COPYING
INSTALL
ABOUT-NLS
Makefile
Makefile.in
aclocal.m4
config.log
config.status
configure
dsim-config
dsim.pc
dsim.spec
libtool
dsim-html-doc-*.tar.*
dsim-*.tar.*
dsim.m4
build
+ autom4te.cache
configure.sh
COPYING
INSTALL
ABOUT-NLS
Makefile
Makefile.in
aclocal.m4
config.log
config.status
configure
dsim-config
dsim.pc
dsim.spec
libtool
dsim-html-doc-*.tar.*
dsim-*.tar.*
dsim.m4
build
latex
Modified: trunk/dsim/Makefile.am
===================================================================
--- trunk/dsim/Makefile.am 2010-07-23 19:07:51 UTC (rev 107)
+++ trunk/dsim/Makefile.am 2010-07-24 16:15:30 UTC (rev 108)
@@ -45,18 +45,24 @@
dist-html:
$(MAKE) -C doc dist-html
+dist-tex:
+ $(MAKE) -C doc dist-tex
-snapshot: snapshot-src snapshot-html
+snapshot: snapshot-src snapshot-html snapshot-tex
+
snapshot-src:
$(MAKE) dist distdir=@PACKAGE_TARNAME@-`date +"%Y%m%d"`
snapshot-html:
$(MAKE) -C doc dist-html html_tarname=@PACKAGE_TARNAME@-doc-`date +"%Y%m%d"`
-upload: upload-src upload-html
+snapshot-tex:
+ $(MAKE) -C doc dist-tex tex_tarname=@PACKAGE_TARNAME@-tex-`date +"%Y%m%d"`
+upload: upload-src upload-html upload-tex
+
upload-src: dist
@UPLOAD_COMMAND@ @PACKAGE_TARNAME@-@VERSION@.tar.gz \
@PACKAGE_TARNAME@-@VERSION@.tar.bz2
@@ -65,3 +71,7 @@
@UPLOAD_COMMAND@ @PACKAGE_TARNAME@-doc-@VERSION@.tar.gz \
@PACKAGE_TARNAME@-doc-@VERSION@.tar.bz2
+upload-tex: dist-tex
+ @UPLOAD_COMMAND@ @PACKAGE_TARNAME@-tex-@VERSION@.tar.gz \
+ @PACKAGE_TARNAME@-tex-@VERSION@.tar.bz2
+
Modified: trunk/dsim/doc/Makefile.am
===================================================================
--- trunk/dsim/doc/Makefile.am 2010-07-23 19:07:51 UTC (rev 107)
+++ trunk/dsim/doc/Makefile.am 2010-07-24 16:15:30 UTC (rev 108)
@@ -1,6 +1,8 @@
+# dsim doc sub-directory
include $(top_srcdir)/doc/local/sources.mk
include $(top_srcdir)/doc/tutorial/sources.mk
include $(top_srcdir)/doc/tutorial/src/sources.mk
+#
include $(top_srcdir)/stdair/basic/sources.mk
include $(top_srcdir)/stdair/bom/sources.mk
include $(top_srcdir)/stdair/factory/sources.mk
@@ -84,6 +86,7 @@
docdir = @docdir@
html_tarname = @PACKAGE_TARNAME@-doc-@PACKAGE_VERSION@
+tex_tarname = @PACKAGE_TARNAME@-tex-@PACKAGE_VERSION@
noinst_DATA = sourceforge/howto_release_dsim.html.in
EXTRA_DIST = $(noinst_DATA)
@@ -139,7 +142,15 @@
bzip2 -9 -c > $(top_builddir)/$(html_tarname).tar.bz2
rm -rf $(top_builddir)/$(html_tarname)
-install-data-local: html-local
+dist-tex: html-local
+ cp -a $(top_builddir)/doc/latex $(top_builddir)/$(tex_tarname)
+ tar chof - $(top_builddir)/$(tex_tarname) | \
+ gzip --best -c > $(top_builddir)/$(tex_tarname).tar.gz
+ tar chof - $(top_builddir)/$(tex_tarname) | \
+ bzip2 -9 -c > $(top_builddir)/$(tex_tarname).tar.bz2
+ rm -rf $(top_builddir)/$(tex_tarname)
+
+install-data-local: html-local tex-local
$(mkinstalldirs) $(DESTDIR)$(docdir)
if test -d html; then \
$(mkinstalldirs) $(DESTDIR)$(docdir)/html; \
@@ -152,4 +163,4 @@
rm -rf $(DESTDIR)$(docdir)
clean-local:
- rm -rf html *.log *.tag
+ rm -rf html latex *.log *.tag
Modified: trunk/dsim/doc/doxygen_html.cfg.in
===================================================================
--- trunk/dsim/doc/doxygen_html.cfg.in 2010-07-23 19:07:51 UTC (rev 107)
+++ trunk/dsim/doc/doxygen_html.cfg.in 2010-07-24 16:15:30 UTC (rev 108)
@@ -955,7 +955,7 @@
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
-GENERATE_LATEX = NO
+GENERATE_LATEX = YES
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
@@ -978,7 +978,7 @@
# LaTeX documents. This may be useful for small projects and may help to
# save some trees in general.
-COMPACT_LATEX = NO
+COMPACT_LATEX = YES
# The PAPER_TYPE tag can be used to set the paper type that is used
# by the printer. Possible values are: a4, a4wide, letter, legal and
@@ -1003,13 +1003,13 @@
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
-PDF_HYPERLINKS = NO
+PDF_HYPERLINKS = YES
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
-USE_PDFLATEX = NO
+USE_PDFLATEX = YES
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|