blob: a0a4c7dfa246a80572f80bf0d49c4c0ec42f5603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-doc_api_Makefile.in,v 1.4 2021/09/08 12:20:35 micha Exp $
Fix dependencies. Ultimately ignore the errors from latex though, since
undefined references remain.
--- doc/api/Makefile.in.orig 2016-06-19 16:33:29.514161905 +0000
+++ doc/api/Makefile.in
@@ -636,7 +636,7 @@ $(USER_MANUAL)/index.html: latex_src/ref
dox-pdf: $(USER_MANUAL).pdf
$(USER_MANUAL).pdf: latex_src/refman.tex
- cd latex_src && ${MAKE} refman.pdf
+ cd latex_src && sed -e 's,pdflatex refman$$,pdflatex refman || true,' < Makefile > Makefile.new && mv Makefile.new Makefile && ${MAKE} || echo true
cp latex_src/refman.pdf $(USER_MANUAL).pdf
# Install rules for the various documentation parts. The actual
|