X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=d9332a4d917b8074a04cc2890f33bc2f50fa5fe7;hb=9c70253e4c7eedab806490b87a9a58e970998429;hp=4a485c47b1b21cee7317d93990e8c7c8ce146a0a;hpb=5d73d6c1e27e6c2431c852fe99f025433a8a822b;p=yaz-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 4a485c4..d9332a4 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.72 2006-09-04 12:43:45 adam Exp $ +## $Id: Makefile.am,v 1.73 2006-09-07 10:01:50 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -75,13 +75,13 @@ apilayer.png: xbmtopbm apilayer.png dist-hook: - if test -d index.html; then d=.; else d="$(srcdir)"; fi; \ + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ for p in $$d/*.html; do \ cp $$p $(distdir); \ done install-data-hook: - if test -d index.html; then d=.; else d="$(srcdir)"; fi; \ + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ for p in $$d/*.html; do \ $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \ done