summaryrefslogtreecommitdiff
path: root/mate-about/Makefile.am
blob: b4d0d1dbc44dde3e8e4b8d96188393b551f87f23 (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 --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) $(version_DATA)

DISTCLEANFILES = mate-about.h

#-include $(top_srcdir)/git.mk