1#
2# Copyright (c) 2005-2007 Alon Bar-Lev <alon.barlev@gmail.com>
3# All rights reserved.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2
7# as published by the Free Software Foundation.
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 (see the file COPYING.GPL included with this
16# distribution); if not, write to the Free Software Foundation, Inc.,
17# 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18#
19
20# This option prevents autoreconf from overriding our COPYING and
21# INSTALL targets:
22AUTOMAKE_OPTIONS=foreign dist-bzip2
23
24MAINTAINERCLEANFILES = \
25	config.log config.status \
26	$(srcdir)/Makefile.in \
27	$(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \
28	$(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \
29	$(srcdir)/depcomp $(srcdir)/aclocal.m4 \
30	$(srcdir)/config.guess $(srcdir)/config.sub \
31	$(srcdir)/mp3unicode.spec
32
33BUILT_SOURCES=ChangeLog
34DISTCLEANFILES=ChangeLog
35EXTRA_DIST=ChangeLog ChangeLog.xsl releases.xml
36
37ChangeLog:	ChangeLog.xsl releases.xml
38	$(XSLTPROC) -o ChangeLog "$(srcdir)/ChangeLog.xsl" "$(srcdir)/releases.xml"
39
40dist_doc_DATA=README
41
42SUBDIRS= \
43	distro
44
45bin_PROGRAMS= \
46	mp3unicode
47
48mp3unicode_SOURCES= \
49	mp3unicode.cpp messages.cpp messages.h
50
51dist-hook:
52	$(LN_S) "$(srcdir)/distro/rpm/mp3unicode.spec" "$(distdir)/mp3unicode.spec"
53
54clean-generic:
55	-rm -f *.html
56
57if WIN32
58nodist_html_DATA=mp3unicode.html
59dist_noinst_DATA=mp3unicode.1
60
61mp3unicode.1.html:
62	$(MAN2HTML) < "$(srcdir)/mp3unicode.1" > $@
63else
64dist_man_MANS=mp3unicode.1
65endif
66
67