summaryrefslogtreecommitdiff
path: root/mate-about/Makefile.am
blob: e557bbe79f45478df3a1ed93ca59a39012797987 (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
30
31
32
bin_PROGRAMS = mate-about
mate_about_SOURCES = mate-about.c mate-about.h
mate_about_CFLAGS = $(WARN_CFLAGS) $(MATE_ABOUT_CFLAGS)
mate_about_LDADD = $(MATE_ABOUT_LIBS)

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	$(MATE_ABOUT_CFLAGS) \
	-DLOCALE_DIR=\"$(datadir)/locale\" \
	-DPIXMAPS_DIR=\"$(datadir)/pixmaps/\"

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

versiondir = $(datadir)/mate-about
version_DATA = mate-version.xml

EXTRA_DIST = \
	$(desktop_in_files) \
	meson.build \
	mate-about.h.in \
	mate-version.xml.in

CLEANFILES = $(desktop_DATA) $(bin_PROGRAMS)

DISTCLEANFILES = mate-about.h $(version_DATA)

#-include $(top_srcdir)/git.mk