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