-## Copyright (C) 1994-2003, Index Data
-## All rights reserved.
-## $Id: Makefile.am,v 1.23 2003-10-27 12:21:21 adam Exp $
+## This file is part of the YAZ toolkit.
+## Copyright (C) 1994-2005, Index Data, All rights reserved.
+## $Id: Makefile.am,v 1.34 2006-04-21 14:24:53 adam Exp $
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = src include test util client ztest zoom doc etc
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = src include util test client ztest zoom doc etc
aclocaldir=$(datadir)/aclocal
-aclocal_DATA = yaz.m4
+aclocal_DATA = m4/yaz.m4
SPEC_FILE=$(PACKAGE).spec
-EXTRA_DIST=$(SPEC_FILE) README LICENSE CHANGELOG TODO windows.txt \
- yaz-config.in yaz.m4
+EXTRA_DIST=$(SPEC_FILE) README LICENSE NEWS TODO windows.txt \
+ yaz-config.in m4/yaz.m4 buildconf.sh Doxyfile.in
dist-hook:
mkdir $(distdir)/win
cp $(srcdir)/debian/control $(distdir)/debian
cp $(srcdir)/debian/changelog $(distdir)/debian
cp $(srcdir)/debian/rules $(distdir)/debian
- cp $(srcdir)/debian/postinst $(distdir)/debian
+ cp $(srcdir)/debian/*.postinst $(distdir)/debian
+ cp $(srcdir)/debian/*.install $(distdir)/debian
+ cp $(srcdir)/debian/*.manpages $(distdir)/debian
-rpm: $(PACKAGE)-$(VERSION).tar.gz
- cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
- rpm -ba $(SPEC_FILE)