Replace a few strdup/free with xstrdup/xfree
[yaz-moved-to-github.git] / Makefile.am
1 ## This file is part of the YAZ toolkit.
2 ## Copyright (C) 1994-2005, Index Data, All rights reserved.
3 ## $Id: Makefile.am,v 1.34 2006-04-21 14:24:53 adam Exp $
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 SPEC_FILE=$(PACKAGE).spec
16 EXTRA_DIST=$(SPEC_FILE) README LICENSE NEWS TODO windows.txt \
17         yaz-config.in m4/yaz.m4 buildconf.sh Doxyfile.in
18
19 dist-hook:
20         mkdir $(distdir)/win
21         -cp $(srcdir)/win/* $(distdir)/win
22         mkdir $(distdir)/debian
23         cp $(srcdir)/debian/control $(distdir)/debian
24         cp $(srcdir)/debian/changelog $(distdir)/debian
25         cp $(srcdir)/debian/rules $(distdir)/debian
26         cp $(srcdir)/debian/*.postinst $(distdir)/debian
27         cp $(srcdir)/debian/*.install $(distdir)/debian
28         cp $(srcdir)/debian/*.manpages $(distdir)/debian
29