summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2006-01-27 11:49:03 +0000
committerSimon Josefsson <simon@josefsson.org>2006-01-27 11:49:03 +0000
commit1b0393cbf8bbfffc03b056e88ef95f9af0a4f6c0 (patch)
treee4edc26121a770b99effe21a6b35bc942e12ab03
parent6b5bb63ed5cb089bb4a968553d805a923868051a (diff)
downloadlibtasn1-1b0393cbf8bbfffc03b056e88ef95f9af0a4f6c0.tar.gz
libtasn1-1b0393cbf8bbfffc03b056e88ef95f9af0a4f6c0.tar.bz2
libtasn1-1b0393cbf8bbfffc03b056e88ef95f9af0a4f6c0.zip
Fix objdir != srcdir.
-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