More considered Bath Profile support. May need changes to the
[yaz-moved-to-github.git] / Makefile.am
1 ## Copyright (C) 1994-2003, Index Data
2 ## All rights reserved.
3 ## $Id: Makefile.am,v 1.23 2003-10-27 12:21:21 adam Exp $
4
5 AUTOMAKE_OPTIONS = foreign 
6
7 SUBDIRS = src include test util 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         mkdir $(distdir)/win
19         -cp $(srcdir)/win/* $(distdir)/win
20         mkdir $(distdir)/debian
21         cp $(srcdir)/debian/control $(distdir)/debian
22         cp $(srcdir)/debian/changelog $(distdir)/debian
23         cp $(srcdir)/debian/rules $(distdir)/debian
24         cp $(srcdir)/debian/postinst $(distdir)/debian
25
26 rpm: $(PACKAGE)-$(VERSION).tar.gz
27         cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
28         rpm -ba $(SPEC_FILE)