File: fix-pdf-generation

package info (click to toggle)
ftgl 2.1.3~rc5-4%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,732 kB
  • ctags: 1,457
  • sloc: cpp: 15,756; sh: 982; ansic: 625; makefile: 390
file content (33 lines) | stat: -rw-r--r-- 1,314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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

--- ftgl-2.1.3~rc5.orig/docs/Makefile.am
+++ ftgl-2.1.3~rc5/docs/Makefile.am
@@ -33,9 +33,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 '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
--- ftgl-2.1.3~rc5.orig/docs/Makefile.in
+++ ftgl-2.1.3~rc5/docs/Makefile.in
@@ -460,9 +460,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 '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