1ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
2
3SUBDIRS =									\
4	src										\
5	po
6
7dist_man_MANS = xfmpc.1
8
9desktopdir = $(datadir)/applications
10desktop_in_files = xfmpc.desktop.in
11desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
12@INTLTOOL_DESKTOP_RULE@
13
14.PHONY: ChangeLog
15
16ChangeLog: Makefile
17	(GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp \
18	&& mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) \
19	|| (touch ChangeLog; echo 'Git directory not found: installing possibly empty changelog.' >&2)
20
21dist-hook: ChangeLog
22
23EXTRA_DIST =								\
24	third-party								\
25	IDEAS									\
26	intltool-extract.in						\
27	intltool-merge.in						\
28	intltool-update.in						\
29	$(desktop_in_files)
30
31MAINTAINERCLEANFILES =						\
32	aclocal.m4								\
33	compile									\
34	config.guess							\
35	config.h.in								\
36	config.sub								\
37	configure								\
38	configure.ac							\
39	depcomp									\
40	install-sh								\
41	ltmain.sh								\
42	missing									\
43	mkinstalldirs							\
44	intltool-extract						\
45	intltool-merge							\
46	intltool-update
47
48DISTCLEANFILES =							\
49	$(desktop_DATA)
50
51# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
52