$NetBSD: patch-doc_api_Makefile.in,v 1.5 2022/05/11 12:19:47 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 @@ -641,7 +641,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