Fix install-data-hook
[idzebra-moved-to-github.git] / doc / Makefile.am
index c59e78f..b2cf38d 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.10 2002-06-02 19:30:07 adam Exp $
+## $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
-       
+