Fix install-data-hook
[idzebra-moved-to-github.git] / doc / Makefile.am
index 3f77ebe..b2cf38d 100644 (file)
@@ -1,5 +1,5 @@
-## $Id: Makefile.am,v 1.9 2002-04-09 19:58:38 adam Exp $
-docdir=$(pkgdatadir)/doc
+## $Id: Makefile.am,v 1.12 2002-09-16 22:23:22 adam Exp $
+docdir=$(datadir)/doc/@PACKAGE@
 
 doc_DATA = zebra.html zebra.pdf
 
@@ -13,6 +13,7 @@ XMLFILES = \
  introduction.xml \
  installation.xml \
  quickstart.xml \
+ examples.xml \
  administration.xml \
  zebraidx.xml \
  server.xml \
@@ -23,7 +24,7 @@ XMLFILES = \
 EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf
 
 install-data-hook:
-       for f in *.html; do \
+       for f in $(srcdir)/*.html; do \
                $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
        done    
 
@@ -53,4 +54,4 @@ dist-hook: zebra.html
 
 clean-data-hook:
        rm -f [0-9]* *.bak
-       
+