summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
blob: cd31f8f7ad482bc11aa06033c4eb6aa6b73e0833 (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
27
28
29
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\" \
	$(WARN_CFLAGS) \
	$(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) \
	meson.build

CLEANFILES = $(desktop_DATA) $(bin_PROGRAMS)