-## $Id: Makefile.am,v 1.72 2006-09-04 12:43:45 adam Exp $
+## $Id: Makefile.am,v 1.76 2006-12-13 09:40:32 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
XMLFILES=bookinfo.xml introduction.xml installation.xml \
indexdata.xml \
asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml \
- future.xml client.xml zoom.xml credits.xml gfs-options.xml \
+ future.xml client.xml ziffy.xml zoom.xml credits.xml gfs-options.xml \
yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml
HTMLFILES = index.html
xbmtopbm <apilayer.xbm|pnmtopng >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
+doc-clean:
+ rm -f *.html *.[0-9] *.pdf *.tkl
+
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
+
+uninstall-hook:
+ rm -r $(DESTDIR)/$(docdir)