From 31b558634a25e04ce633ae4c80464571e807da71 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 23 Apr 2012 17:52:06 +0100 Subject: [PATCH] doc/Makefile.am: Create directory for pdf output dblatex is passed the option `-o $(srcdir)/pdf`, but if this directory does not exist, the PDF file is created with the name 'pdf' in $(srcdir). Make the directory so that the -o option treats the specified name as an output directory instead of an output filename. --- doc/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/Makefile.am b/doc/Makefile.am index d805187..2bdb061 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -77,6 +77,7 @@ uninstall_man: for each in `find $(srcdir)/man/ -name '*.3'`; do $(RM) $(DESTDIR)$(mandir)/man3/`basename $$each` ; done $(srcdir)/pdf/comedilib.pdf: $(XML) + $(mkdir_p) $(srcdir)/pdf $(DBLATEX) -o $(srcdir)/pdf -t pdf $(srcdir)/comedilib.xml funcref.xml: funcref mkref -- 2.26.2