Further work.
[yaz-moved-to-github.git] / Makefile.am
index c8c7796..b02c85d 100644 (file)
@@ -1,6 +1,6 @@
-## $Id: Makefile.am,v 1.3 2000-02-29 13:44:54 adam Exp $
+## $Id: Makefile.am,v 1.6 2000-03-15 12:59:49 adam Exp $
 
-AUTOMAKE_OPTIONS = foreign no-dependencies
+AUTOMAKE_OPTIONS = foreign 
 
 DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
 
@@ -10,7 +10,7 @@ noinst_SCRIPTS = yaz-config
 SPEC_FILE=$(PACKAGE).spec
 EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
 
-yaz-config:
+yaz-config: Makefile
        @echo "#!/bin/sh" >yaz-config
        @echo "# YAZ settings for developers" >>yaz-config
        @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
@@ -20,6 +20,7 @@ yaz-config:
        chmod +x yaz-config
 
 dist-hook:
+       cd doc; make
        mkdir $(distdir)/win
        -cp $(srcdir)/win/* $(distdir)/win