summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
blob: a272a9b36779c7fbb9f3af099793fb9a37c8e46d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
bin_PROGRAMS = mate-color-select
bin_SCRIPTS =

AM_CPPFLAGS = \
	-I$(top_srcdir)

mate_color_select_SOURCES = \
	mate-color-select.c

mate_color_select_CFLAGS = \
	-DLOCALE_DIR=\"$(datadir)/locale\" \
	$(MATE_DESKTOP_CFLAGS)

mate_color_select_LDADD = \
	$(top_builddir)/libmate-desktop/libmate-desktop-2.la \
	$(MATE_DESKTOP_LIBS)

desktopdir = $(datadir)/applications
desktop_in_files = mate-color-select.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
mate-color-select.desktop: mate-color-select.desktop.in
	$(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@

EXTRA_DIST = $(desktop_in_files)

CLEANFILES = $(desktop_DATA) $(bin_PROGRAMS)