X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.am;h=6e4c6d1bc885af6af8657de9b43baeaa9e5c228a;hb=d02fa05385c5bc77f4faafd2117bdba699e15cbf;hp=15c73233904a9d77fa5eb9627a1d362c7c53dac4;hpb=70f0ff9bf920e65b47211fd88f409e2b1a2b8e43;p=yaz-moved-to-github.git diff --git a/Makefile.am b/Makefile.am index 15c7323..6e4c6d1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,31 +1,29 @@ -## $Id: Makefile.am,v 1.8 2000-06-19 09:49:35 adam Exp $ +## This file is part of the YAZ toolkit. +## Copyright (C) 1994-2005, Index Data, All rights reserved. +## $Id: Makefile.am,v 1.32 2006-03-30 16:30:25 adam Exp $ AUTOMAKE_OPTIONS = foreign -DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc +ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = @SUBDIRS_VAR@ +SUBDIRS = src include util test client ztest zoom doc etc + +aclocaldir=$(datadir)/aclocal + +aclocal_DATA = m4/yaz.m4 -noinst_SCRIPTS = yaz-config 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 NEWS TODO windows.txt \ + yaz-config.in m4/yaz.m4 buildconf.sh Doxyfile.in dist-hook: - cd doc; make mkdir $(distdir)/win -cp $(srcdir)/win/* $(distdir)/win + mkdir $(distdir)/debian + cp $(srcdir)/debian/control $(distdir)/debian + cp $(srcdir)/debian/changelog $(distdir)/debian + cp $(srcdir)/debian/rules $(distdir)/debian + cp $(srcdir)/debian/postinst $(distdir)/debian + cp $(srcdir)/debian/compat $(distdir)/debian + cp $(srcdir)/debian/*.install $(distdir)/debian -rpm: $(PACKAGE)-$(VERSION).tar.gz - cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES - rpm -ba $(SPEC_FILE)