Skip to content

Commit

Permalink
Re-enable building of docs
Browse files Browse the repository at this point in the history
Debian patch fix-pdf-generation:
Description: Fix PDF refman generation
 This just remove a pre-latex-processing hack that just breaks nowadays.
 The Makefile.in was updated by hand, since autostuff is way old and
 apparently more work is needed to make regeneration work properly.
Author: Yann Dirson <dirson@debian.org>
Bug-Debian: http://bugs.debian.org/718100

Debian patch enable-docs.patch:
Author: Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
  • Loading branch information
Frank Heckenbach committed Nov 17, 2018
1 parent d4cf43a commit 3acacf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = src demo # test (does not build) # docs (overflows pdflatex)
SUBDIRS = src demo docs # test (does not build)
DIST_SUBDIRS = $(SUBDIRS) msvc

pkgconfigdir = $(libdir)/pkgconfig
Expand Down
4 changes: 1 addition & 3 deletions docs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ stamp-doxygen: doxygen.cfg stamp-eps

latex/ftgl.pdf: stamp-latex
stamp-latex: stamp-doxygen
rm -f latex/ftgl.tex latex/ftgl.pdf
mv latex/refman.tex latex/ftgl.tex
$(SED) -e 's/setlength{/renewcommand{/' < latex/ftgl.tex > latex/refman.tex
rm -f latex/ftgl.pdf
cd latex && $(MAKE) $(AM_CFLAGS) refman.pdf || (cat refman.log; exit 1)
mv latex/refman.pdf latex/ftgl.pdf
touch stamp-latex
Expand Down

0 comments on commit 3acacf7

Please sign in to comment.