X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=717f663d653b3a18796de13af67ec50e6864dfb8;hp=ea5aa36c07d9781a8f6ae662c1b221b747836283;hb=20268c3c0fbcabb3696d4cefcb8b0a84598ed9f0;hpb=51ce48f9d3319a9f8952c4c6deb2c39692403376 diff --git a/Makefile.am b/Makefile.am index ea5aa36..717f663 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,27 +1,34 @@ -## $Id: Makefile.am,v 1.4 2000-02-29 15:52:33 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: - @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: 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