X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=49ac4ece28d1556d3a93308564e96ba8f6f6c994;hp=b02c85da3a07b9c6044da3c572a5998d912ea99c;hb=95d8bd04e10519a635972a24176270ef4dbe8d2c;hpb=ee171c36f5db3f64d42b840c247ac33f056d656d diff --git a/Makefile.am b/Makefile.am index b02c85d..49ac4ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,29 +1,30 @@ -## $Id: Makefile.am,v 1.6 2000-03-15 12:59:49 adam Exp $ +## This file is part of the YAZ toolkit. +## Copyright (C) 1994-2005, Index Data, All rights reserved. +## $Id: Makefile.am,v 1.35 2006-05-08 12:20:48 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 -noinst_SCRIPTS = yaz-config -SPEC_FILE=$(PACKAGE).spec -EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt +aclocaldir=$(datadir)/aclocal + +aclocal_DATA = m4/yaz.m4 -yaz-config: Makefile - @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 NEWS TODO windows.txt \ + yaz-config.in m4/yaz.m4 m4/yaz_libxml2.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/*.install $(distdir)/debian + cp $(srcdir)/debian/*.manpages $(distdir)/debian -rpm: $(PACKAGE)-$(VERSION).tar.gz - cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES - rpm -ba $(SPEC_FILE)