summaryrefslogtreecommitdiff
path: root/geyes/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-05-27 12:06:02 +0200
committerraveit65 <[email protected]>2020-07-11 17:42:31 +0200
commit31375efa710b751f4a64fab47309d6e35560befb (patch)
treec6b430fb090f507eb39108e848aa9105f30bdec0 /geyes/Makefile.am
parent6074e92751f5958c99c2a8f96283a977e20dbb0d (diff)
downloadmate-applets-31375efa710b751f4a64fab47309d6e35560befb.tar.bz2
mate-applets-31375efa710b751f4a64fab47309d6e35560befb.tar.xz
geyes: Add themes.ui
Diffstat (limited to 'geyes/Makefile.am')
-rw-r--r--geyes/Makefile.am45
1 files changed, 33 insertions, 12 deletions
diff --git a/geyes/Makefile.am b/geyes/Makefile.am
index e3c43bcd..514eee30 100644
--- a/geyes/Makefile.am
+++ b/geyes/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
SUBDIRS = themes docs
AM_CPPFLAGS = \
@@ -11,15 +13,24 @@ AM_CPPFLAGS = \
libexec_PROGRAMS = mate-geyes-applet
+BUILT_SOURCES = geyes-resources.c geyes-resources.h
+nodist_mate_geyes_applet_SOURCES = $(BUILT_SOURCES)
mate_geyes_applet_SOURCES = \
- geyes.c \
- themes.c \
- geyes.h
+ geyes.c \
+ geyes.h \
+ themes.c \
+ $(NULL)
-mate_geyes_applet_LDADD = \
- $(MATE_APPLETS4_LIBS) \
+mate_geyes_applet_LDADD = \
+ $(MATE_APPLETS4_LIBS) \
-lm
+geyes-resources.c: geyes-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/geyes-resources.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name eyes $<
+
+geyes-resources.h: geyes-resources.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/geyes-resources.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate --c-name eyes $<
+
appletdir = $(datadir)/mate-panel/applets
applet_in_files = org.mate.applets.GeyesApplet.mate-panel-applet.desktop.in
applet_DATA = $(applet_in_files:.mate-panel-applet.desktop.in=.mate-panel-applet)
@@ -60,15 +71,25 @@ icons = \
mate-eyes-applet.22.png \
mate-eyes-applet.16.png
-CLEANFILES = $(applet_DATA) $(applet_in_files) $(service_DATA) $(gsettings_SCHEMAS) *.gschema.valid
+CLEANFILES = \
+ $(BUILT_SOURCES) \
+ $(applet_DATA) \
+ $(applet_in_files) \
+ $(service_DATA) \
+ $(gsettings_SCHEMAS) \
+ *.gschema.valid \
+ $(NULL)
EXTRA_DIST = \
- README.themes \
- $(applet_in_files).in \
- $(service_in_files) \
- $(geyes_gschema_in_files) \
- $(ui_DATA) \
- $(icons)
+ geyes-resources.gresource.xml \
+ themes.ui \
+ README.themes \
+ $(applet_in_files).in \
+ $(service_in_files) \
+ $(geyes_gschema_in_files) \
+ $(ui_DATA) \
+ $(icons) \
+ $(NULL)
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor