Old Z39.50 codecs gone. Added ZOOM. WRBUF MARC display util.
[yaz-moved-to-github.git] / Makefile.am
index 2296240..f14cf4b 100644 (file)
@@ -1,27 +1,21 @@
-# Copyright (C) 1995-2000, Index Data 
-# All rights reserved.
-# $Id: Makefile.am,v 1.1 2000-02-28 11:20:05 adam Exp $
+## $Id: Makefile.am,v 1.11 2001-10-23 21:00:19 adam Exp $
 
 AUTOMAKE_OPTIONS = foreign 
 
-DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc
+DIST_SUBDIRS=util odr z39.50 ill zutil comstack ccl tab retrieval server lib zoom include client ztest doc
 
 SUBDIRS = @SUBDIRS_VAR@
 
-noinst_SCRIPTS = yaz-config
-SPEC_FILE=$(PACKAGE).spec
-EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
+aclocaldir=$(datadir)/aclocal
+
+aclocal_DATA = yaz.m4
 
-yaz-config:
-       @echo "#!/bin/sh" >yaz-config
-       @echo "# YAZ settings for developers" >>yaz-config
-       @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
-       @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
-       @echo "YAZLIB=\"-L`pwd`/lib -lyaz @LIBS@\"" >>yaz-config
-       @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
-       chmod +x yaz-config
+SPEC_FILE=$(PACKAGE).spec
+EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt \
+       yaz-config.in yaz.m4
 
 dist-hook:
+       cd doc; make
        mkdir $(distdir)/win
        -cp $(srcdir)/win/* $(distdir)/win