X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=717f663d653b3a18796de13af67ec50e6864dfb8;hb=319ea8d6f518d08c1f50d8ec80899e1bc6ca7923;hpb=20268c3c0fbcabb3696d4cefcb8b0a84598ed9f0 diff --git a/Makefile.am b/Makefile.am index 717f663..a00c190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,35 +1,32 @@ -## Copyright (C) 1994-2003, Index Data -## All rights reserved. -## $Id: Makefile.am,v 1.21 2003-05-06 11:37:18 adam Exp $ +## This file is part of the YAZ toolkit. +## Copyright (C) Index Data +## See the file LICENSE for details. AUTOMAKE_OPTIONS = foreign -SUBDIRS = util odr comstack z39.50 ill zutil ccl cql server include lib client ztest zoom doc etc +ACLOCAL_AMFLAGS = -I m4 + +SUBDIRS = src include util test client ztest zoom doc etc aclocaldir=$(datadir)/aclocal -aclocal_DATA = yaz.m4 +aclocal_DATA = m4/yaz.m4 + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = yaz.pc SPEC_FILE=$(PACKAGE).spec -EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt \ - yaz-config.in yaz.m4 +EXTRA_DIST=$(SPEC_FILE) IDMETA README LICENSE NEWS m4/id-config.sh \ + yaz-config.in yaz.pc.in m4/yaz.m4 m4/yaz_libxml2.m4 buildconf.sh \ + Doxyfile.in m4/acx_pthread.m4 m4/ac_check_icu.m4 dist-hook: - mkdir $(distdir)/win + if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi + test -d $(distdir)/win || 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 - rpm -ba $(SPEC_FILE) + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot + +