X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=717f663d653b3a18796de13af67ec50e6864dfb8;hp=b02c85da3a07b9c6044da3c572a5998d912ea99c;hb=20268c3c0fbcabb3696d4cefcb8b0a84598ed9f0;hpb=ee171c36f5db3f64d42b840c247ac33f056d656d diff --git a/Makefile.am b/Makefile.am index b02c85d..717f663 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,28 +1,34 @@ -## $Id: Makefile.am,v 1.6 2000-03-15 12:59:49 adam Exp $ +## Copyright (C) 1994-2003, Index Data +## All rights reserved. +## $Id: Makefile.am,v 1.21 2003-05-06 11:37:18 adam Exp $ AUTOMAKE_OPTIONS = foreign -DIST_SUBDIRS=util odr z39.50 asn ill zutil comstack ccl tab retrieval server lib include client ztest doc +SUBDIRS = util odr comstack z39.50 ill zutil ccl cql server include lib client ztest zoom doc etc -SUBDIRS = @SUBDIRS_VAR@ +aclocaldir=$(datadir)/aclocal -noinst_SCRIPTS = yaz-config -SPEC_FILE=$(PACKAGE).spec -EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt +aclocal_DATA = 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 CHANGELOG TODO windows.txt \ + yaz-config.in yaz.m4 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 + if test -f $(srcdir)/depcomp; then \ + if test -f $(distdir)/depcomp; then \ + echo "depcomp OK";\ + else \ + cp $(srcdir)/depcomp $(distdir)/depcomp;\ + fi \ + fi rpm: $(PACKAGE)-$(VERSION).tar.gz cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES