X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=13cf28bcc77f7dc4d78dfea617599bcb7d5563cc;hb=c753bab9ac07a09f1bd7ba1dc363e58310e307a7;hpb=d18b1a02c459bc111a6b5928728f9690020e410d diff --git a/Makefile.am b/Makefile.am index 13cf28b..a00c190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,34 +1,32 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2007, Index Data, All rights reserved. -## $Id: Makefile.am,v 1.41 2007-02-24 13:35:23 adam Exp $ +## 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 ziffy doc etc +SUBDIRS = src include util test client ztest zoom doc etc aclocaldir=$(datadir)/aclocal -aclocal_DATA = m4/yaz.m4 m4/acx_pthread.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 \ +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 + Doxyfile.in m4/acx_pthread.m4 m4/ac_check_icu.m4 dist-hook: - if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; fi - 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 +