summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-06-19 18:58:45 +0200
committerraveit65 <[email protected]>2019-08-20 16:10:38 +0200
commit0cc88d6a62fc8eff0b93fc6c287fc1b054ced094 (patch)
tree8135d02d0b3a87fdfc0fab4956b771b1af091773 /capplets/time-admin/src/Makefile.am
parent7a90b47c2f2daaa13834a5a58fc159b813852d8d (diff)
downloadmate-control-center-0cc88d6a62fc8eff0b93fc6c287fc1b054ced094.tar.bz2
mate-control-center-0cc88d6a62fc8eff0b93fc6c287fc1b054ced094.tar.xz
time-admin: Add time-admin.ui
Diffstat (limited to 'capplets/time-admin/src/Makefile.am')
-rw-r--r--capplets/time-admin/src/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/capplets/time-admin/src/Makefile.am b/capplets/time-admin/src/Makefile.am
index 59332519..95b930d8 100644
--- a/capplets/time-admin/src/Makefile.am
+++ b/capplets/time-admin/src/Makefile.am
@@ -2,21 +2,25 @@ cappletname = time-admin
bin_PROGRAMS = mate-time-admin
+BUILT_SOURCES = mate-time-admin-resources.h mate-time-admin-resources.c
+nodist_mate_time_admin_SOURCES = $(BUILT_SOURCES)
mate_time_admin_SOURCES = \
main.c time-map.c time-share.c time-tool.c time-zone.c \
time-map.h time-share.h time-tool.h time-zone.h
+mate-time-admin-resources.h mate-time-admin-resources.c: org.mate.mcc.ta.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.ta.gresource.xml)
+ $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name time_admin $<
+
mate_time_admin_LDADD = $(MATECC_CAPPLETS_LIBS)
mate_time_admin_LDFLAGS = -export-dynamic
AM_CPPFLAGS = \
$(MATECC_CAPPLETS_CFLAGS) \
- -DMATELOCALEDIR="\"$(datadir)/locale\""\
-DTIMPZONEDIR="\"$(datadir)/mate-time-admin/map/\""
-CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES)
+CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(BUILT_SOURCES)
-EXTRA_DIST = time-zones.h
+EXTRA_DIST = time-admin.ui time-zones.h org.mate.mcc.ta.gresource.xml
-include $(top_srcdir)/git.mk