From 1b0393cbf8bbfffc03b056e88ef95f9af0a4f6c0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 27 Jan 2006 11:49:03 +0000 Subject: Fix objdir != srcdir. --- doc/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 9720d61..2f89ffc 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -28,7 +28,7 @@ update-makefile: BASE=`basename $$i`; \ TEXINFOS="$$TEXINFOS texi/$$BASE.texi"; \ done; \ - FUNCS=`./gdoc -listfunc $(GDOC_SRC)`; \ + FUNCS=`$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; \ for i in $$FUNCS; do \ MANS="$$MANS man/$$i.3"; \ TEXINFOS="$$TEXINFOS texi/$$i.texi"; \ @@ -39,23 +39,23 @@ update-makefile: doit: $(mkdir_p) man texi; \ - for i in `./gdoc -listfunc $(GDOC_SRC)`; do \ + for i in `$(srcdir)/gdoc -listfunc $(GDOC_SRC)`; do \ echo -n "Creating documentation for $$i... " && \ - ./gdoc -man \ + $(srcdir)/gdoc -man \ -module $(PACKAGE) -sourceversion $(VERSION) \ -include libtasn1.h \ -seeinfo $(PACKAGE) -verbatimcopying \ -copyright "2001, 2002, 2003 Fabio Fiorina" \ -function $$i \ $(GDOC_SRC) > man/$$i.3 && \ - ./gdoc -texinfo -function $$i \ + $(srcdir)/gdoc -texinfo -function $$i \ $(GDOC_SRC) > texi/$$i.texi && \ echo "ok"; \ done; \ for i in $(GDOC_SRC); do \ BASE=`basename $$i`; \ echo -n "Creating documentation for $$i... " && \ - ./gdoc -texinfo $$i > texi/$$BASE.texi && \ + $(srcdir)/gdoc -texinfo $$i > texi/$$BASE.texi && \ echo "ok"; \ done -- cgit v1.2.3