bf83b43c56875d24e9dc7280736991fee91707d3
[yaz-moved-to-github.git] / Makefile.am
1 ## Copyright (C) 1994-2003, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.19 2003-02-12 15:06:42 adam Exp $
4
5 AUTOMAKE_OPTIONS = foreign 
6
7 SUBDIRS = util odr comstack z39.50 ill zutil ccl cql server include lib client ztest zoom doc etc
8
9 aclocaldir=$(datadir)/aclocal
10
11 aclocal_DATA = yaz.m4
12
13 SPEC_FILE=$(PACKAGE).spec
14 EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt \
15         yaz-config.in yaz.m4
16
17 dist-hook:
18         cd doc; make
19         mkdir $(distdir)/win
20         -cp $(srcdir)/win/* $(distdir)/win
21         mkdir $(distdir)/debian
22         cp $(srcdir)/debian/control $(distdir)/debian
23         cp $(srcdir)/debian/changelog $(distdir)/debian
24         cp $(srcdir)/debian/rules $(distdir)/debian
25         cp $(srcdir)/debian/postinst $(distdir)/debian
26
27 rpm: $(PACKAGE)-$(VERSION).tar.gz
28         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
29         rpm -ba $(SPEC_FILE)