-## $Id: Makefile.am,v 1.5 2000-05-02 19:32:16 adam Exp $
+## $Id: Makefile.am,v 1.6 2000-06-19 09:49:35 adam Exp $
lib_LTLIBRARIES = libyaz.la
bin_SCRIPTS = yaz-config
+EXTRA_DIST = yaz-config.in
+
# If the line below is omitted the LINK variable is
# not set in Makefile.in and it will NOT work ..
EXTRA_libyaz_la_SOURCES=x.c
../comstack/libcomstack.la ../server/libserver.la \
../zutil/libzutil.la ../util/libutil.la ../ccl/libccl.la \
../retrieval/libret.la $(ILLLIB)
-
-# Public libraries and header files
-LIBDIR=$(exec_prefix)/lib
-INCDIR=$(prefix)/include
-
-yaz-config: Makefile
- @echo "#!/bin/sh" >yaz-config
- @echo "# YAZ settings for developers" >>yaz-config
- @echo "YAZBIN='$(bindir)'" >>yaz-config
- @echo "YAZTAB='$(pkgdatadir)/tab'" >>yaz-config
- @echo "YAZLIB='-L$(libdir) -lyaz $(LIBS)'" >>yaz-config
- @echo "YAZINC='-I$(includedir)'" >>yaz-config
- chmod +x yaz-config
-