summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-17 00:08:16 +0200
committerVictor Kareh <[email protected]>2019-08-22 13:48:25 -0400
commit2ce29e42f9ad5b5b618fb726e264b850f59cbebc (patch)
treeb698708fd487af3086d14a52a93b8d2e927ab987 /src/Makefile.am
parentd46b6e8d7a6e8df18d2c8605979e86b10f7920d5 (diff)
downloadmate-screensaver-2ce29e42f9ad5b5b618fb726e264b850f59cbebc.tar.bz2
mate-screensaver-2ce29e42f9ad5b5b618fb726e264b850f59cbebc.tar.xz
Use gresources for mate-screensaver-preferences.ui
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 37cbbca..3de1112 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -222,6 +222,13 @@ mate_screensaver_LDADD = \
mate_screensaver_LDFLAGS = -export-dynamic
+mate-screensaver-preferences-resources.h mate-screensaver-preferences-resources.c: $(srcdir)/../data/org.mate.screensaver.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir)/../data $(srcdir)/../data/org.mate.screensaver.gresource.xml)
+ $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir)/../data --generate --c-name screensaver $<
+
+nodist_mate_screensaver_preferences_SOURCES = \
+ mate-screensaver-preferences-resources.h \
+ mate-screensaver-preferences-resources.c \
+ $(NULL)
mate_screensaver_preferences_SOURCES = \
mate-screensaver-preferences.c \
copy-theme-dialog.c \
@@ -249,6 +256,8 @@ EXTRA_DIST = \
CLEANFILES = \
$(desktop_DATA) \
mate-screensaver.desktop.in \
+ mate-screensaver-preferences-resources.h \
+ mate-screensaver-preferences-resources.c \
$(BUILT_SOURCES)
MAINTAINERCLEANFILES = \