X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=49ac4ece28d1556d3a93308564e96ba8f6f6c994;hb=7143bc8f77ac03fdb6f36f30b16cf64c2d6cc3e2;hpb=fe75bce77d280de03589a9bca7e40f3c0ef79817 diff --git a/Makefile.am b/Makefile.am index 49ac4ec..a00c190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## 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 $ +## Copyright (C) Index Data +## See the file LICENSE for details. AUTOMAKE_OPTIONS = foreign @@ -12,19 +12,21 @@ aclocaldir=$(datadir)/aclocal 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 m4/yaz.m4 m4/yaz_libxml2.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/*.install $(distdir)/debian - cp $(srcdir)/debian/*.manpages $(distdir)/debian + +.PHONY:debian +debian: + dpkg-buildpackage -rfakeroot +