X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=3e1b74f91415accc9c3bc13dc9afcd975d99710e;hb=7d640b3f9eeb46ab57958aa21b63f26271162ee7;hpb=f53079fadcadb1eeef45e1e6d254801d984d6068 diff --git a/Makefile.am b/Makefile.am index 3e1b74f..a00c190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,30 +1,32 @@ -## Copyright (C) 1994-2004, Index Data -## All rights reserved. -## $Id: Makefile.am,v 1.29 2004-10-03 22:34:07 adam Exp $ +## This file is part of the YAZ toolkit. +## Copyright (C) Index Data +## See the file LICENSE for details. AUTOMAKE_OPTIONS = foreign +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 NEWS TODO windows.txt \ - yaz-config.in yaz.m4 buildconf.sh Doxyfile.in +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 - 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) + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot + +