-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile.am
78 lines (57 loc) · 2.15 KB
/
Makefile.am
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = po pixmaps src tools help
man_MANS = mate-system-monitor.1
appdatadir = $(datadir)/metainfo
appdata_in_files = mate-system-monitor.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
$(appdata_DATA): $(appdata_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
org.mate.mate-system-monitor.policy.in: org.mate.mate-system-monitor.policy.in.in Makefile
$(AM_V_GEN) sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
DISTCHECK_CONFIGURE_FLAGS = \
--enable-compile-warnings=no \
CFLAGS='-Wno-deprecated-declarations'
EXTRA_DIST = \
autogen.sh \
$(man_MANS) \
$(appdata_in_files) \
org.mate.mate-system-monitor.policy.in.in \
mate-system-monitor.desktop.in \
omf.make \
xmldocs.make
# Distribute the Meson build system files as well
EXTRA_DIST += \
meson.build \
meson_options.txt \
meson_post_install.py \
help/meson.build \
help/LINGUAS \
pixmaps/meson.build \
po/meson.build \
src/meson.build \
tools/meson.build
polkit_policydir = $(datadir)/polkit-1/actions
polkit_policy_in_files = org.mate.mate-system-monitor.policy.in
polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy)
$(polkit_policy_DATA): $(polkit_policy_in_files)
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
Applicationsdir = $(datadir)/applications
Applications_in_files = mate-system-monitor.desktop.in
Applications_DATA = $(Applications_in_files:.desktop.in=.desktop)
$(Applications_DATA): $(Applications_in_files)
$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@
distuninstallcheck_listfiles = find . -type f -print
CLEANFILES = mate-system-monitor.appdata.xml
DISTCLEANFILES = \
mate-system-monitor.desktop \
org.mate.mate-system-monitor.policy \
org.mate.mate-system-monitor.policy.in
# Build ChangeLog from GIT history
ChangeLog:
$(AM_V_GEN) if test -d $(top_srcdir)/.git; then \
GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \
fi
dist: ChangeLog
.PHONY: ChangeLog
-include $(top_srcdir)/git.mk