summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am10
1 files 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