pkgsrc-wip/avr-libc/patches/patch-doc_api_Makefile.in

17 lines
695 B
Plaintext

$NetBSD: patch-doc_api_Makefile.in,v 1.2 2017/01/29 04:29:54 mef 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
@@ -624,7 +624,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} refman.pdf
cp latex_src/refman.pdf $(USER_MANUAL).pdf
# Install rules for the various documentation parts. The actual