1## Makefile for the toplevel directory of normalize
2## Copyright (C) 1999--2005 Chris Vaill
3##
4## This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
18## Process this file with automake to produce Makefile.in
19
20AUTOMAKE_OPTIONS = 1.9 dist-bzip2
21
22SUBDIRS = doc nid3lib src po config test @PLUGINS@
23
24DISTCLEANFILES = $(srcdir)/src/libintl.h
25
26ACLOCAL_AMFLAGS = -I m4
27
28dist-hook:
29#	mkdir $(distdir)/debian
30#	-cp -p $(srcdir)/debian/* $(distdir)/debian
31	-mkdir $(distdir)/packaging
32	for f in prototype request copyright; do \
33		cp -p $(srcdir)/packaging/$$f $(distdir)/packaging; \
34	done
35	for f in $(srcdir)/packaging/*.in; do \
36		BASE=`basename $$f .in`; \
37		sed s/\@VERSION\@/$(VERSION)/ $$f \
38			> $(distdir)/packaging/$$BASE; \
39	done
40
41EXTRA_DIST = config/config.rpath
42