From: Ian Abbott Date: Mon, 23 Apr 2012 16:52:06 +0000 (+0100) Subject: doc/Makefile.am: Create directory for pdf output X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31b558634a25e04ce633ae4c80464571e807da71;p=comedilib.git 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. --- 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