Merge branch 'master' into stemming
[yaz-moved-to-github.git] / Makefile.am
1 ## This file is part of the YAZ toolkit.
2 ## Copyright (C) 1995-2010 Index Data
3
4 AUTOMAKE_OPTIONS = foreign 
5
6 ACLOCAL_AMFLAGS = -I m4
7
8 SUBDIRS = src include util test client ztest zoom doc etc
9
10 aclocaldir=$(datadir)/aclocal
11
12 aclocal_DATA = m4/yaz.m4
13
14 pkgconfigdir = $(libdir)/pkgconfig
15 pkgconfig_DATA = yaz.pc
16
17 SPEC_FILE=$(PACKAGE).spec
18 EXTRA_DIST=$(SPEC_FILE) README LICENSE NEWS \
19         yaz-config.in yaz.pc.in m4/yaz.m4 m4/yaz_libxml2.m4 buildconf.sh \
20         Doxyfile.in m4/acx_pthread.m4 m4/ac_check_icu.m4
21
22 dist-hook:
23         if test -x /usr/bin/git -a -d .git; then git log >ChangeLog ; cp ChangeLog $(distdir); fi
24         test -d $(distdir)/win || mkdir $(distdir)/win
25         -cp $(srcdir)/win/* $(distdir)/win
26
27 .PHONY:debian
28 debian:
29         dpkg-buildpackage -rfakeroot
30
31