Directive s=pw sets structure to phrase if term includes blank(s).
[yaz-moved-to-github.git] / Makefile.am
index 15c7323..31fb0f2 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.8 2000-06-19 09:49:35 adam Exp $
+## $Id: Makefile.am,v 1.10 2000-10-11 10:40:56 adam Exp $
 
 AUTOMAKE_OPTIONS = foreign 
 
@@ -6,20 +6,13 @@ DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib
 
 SUBDIRS = @SUBDIRS_VAR@
 
-noinst_SCRIPTS = yaz-config
+aclocaldir=$(datadir)/aclocal
+
+aclocal_DATA = yaz.m4
+
 SPEC_FILE=$(PACKAGE).spec
-EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt
-
-yaz-config: Makefile
-       @rm -f yaz-config
-       @echo "#!/bin/sh" >yaz-config
-       @echo "# yaz-config for source tree" >>yaz-config
-       @echo "YAZVERSION=@VERSION@" >>yaz-config
-       @echo "YAZBIN=\"`pwd`/bin\"" >>yaz-config
-       @echo "YAZTAB=\"`pwd`/tab\"" >>yaz-config
-       @echo "YAZLIB=\"-L`pwd`/lib/.libs -lyaz @LIBS@\"" >>yaz-config
-       @echo "YAZINC=\"-I`pwd`/include\"" >>yaz-config
-       chmod +x yaz-config
+EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt \
+       yaz-config.in yaz.m4
 
 dist-hook:
        cd doc; make