X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=6a92c1a8d9e853508e32c78ca710e78ba1ff9ea4;hb=e33389ee14d909d3a1b9874a40aa1b53c3fe42be;hpb=7a5661d46c2051c619fe1b794cca882a72707c52 diff --git a/Makefile.am b/Makefile.am index 6a92c1a..a00c190 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,12 @@ ## This file is part of the YAZ toolkit. -## Copyright (C) 1995-2007, Index Data, All rights reserved. -## $Id: Makefile.am,v 1.45 2007-10-22 17:52:09 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 @@ -16,19 +16,17 @@ 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 m4/acx_pthread.m4 m4/ac_check_icu.m4 dist-hook: - if test -x /usr/bin/cvs2cl -a -d CVS; then cvs2cl ; cp ChangeLog $(distdir); 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 +