X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=Makefile.am;h=a00c190fdbd061b067d1303d1bab9a48a11489b4;hp=f1f3705f6b12826d2037d773fd3099e3adc2b9d0;hb=7143bc8f77ac03fdb6f36f30b16cf64c2d6cc3e2;hpb=4f8ea8cfaf2f3d95e4efcf9494526c2b4be43eb8 diff --git a/Makefile.am b/Makefile.am index f1f3705..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.40 2007-01-24 10:09:31 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 + 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 +