summaryrefslogtreecommitdiff
path: root/mate-screenshot/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-22 08:21:06 -0800
committerStefano Karapetsas <[email protected]>2012-11-22 08:21:06 -0800
commit064d8313bbc7de92a98bc5eb0f1055f23866f657 (patch)
tree59235c73ba53aca46ab4c5932c2f462c6a4a1fc9 /mate-screenshot/Makefile.am
parent6552b09151c83c57041d72fc79a22f327ef5cb9f (diff)
parent609770b38d8f0126017221d74f7028746c1c8723 (diff)
downloadmate-utils-064d8313bbc7de92a98bc5eb0f1055f23866f657.tar.bz2
mate-utils-064d8313bbc7de92a98bc5eb0f1055f23866f657.tar.xz
Merge pull request #11 from bhull2010/master
Port mate-screenshot to Gsettings
Diffstat (limited to 'mate-screenshot/Makefile.am')
-rw-r--r--mate-screenshot/Makefile.am46
1 files changed, 21 insertions, 25 deletions
diff --git a/mate-screenshot/Makefile.am b/mate-screenshot/Makefile.am
index d83f5869..66de5dd0 100644
--- a/mate-screenshot/Makefile.am
+++ b/mate-screenshot/Makefile.am
@@ -5,9 +5,6 @@ INCLUDES = \
-I$(srcdir) \
-DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DUIDIR=\""$(uidir)"\" \
- $(MATE_UTILS_CFLAGS) \
- $(LIBCANBERRA_GTK_CFLAGS) \
- $(GTHREAD_CFLAGS) \
$(NULL)
bin_PROGRAMS = \
@@ -28,13 +25,23 @@ mate_screenshot_SOURCES = \
screenshot-xfer.h \
$(NULL)
+mate_screenshot_CFLAGS = \
+ $(GLIB_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(LIBCANBERRA_GTK_CFLAGS) \
+ $(GTHREAD_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(NULL)
+
mate_screenshot_LDFLAGS = -export-dynamic
mate_screenshot_LDADD = \
$(XSHAPE_LIBS) \
- $(MATE_UTILS_LIBS) \
+ $(GLIB_LIBS) \
+ $(GIO_LIBS) \
$(LIBCANBERRA_GTK_LIBS) \
$(GTHREAD_LIBS) \
+ $(GTK_LIBS) \
-lm \
$(NULL)
@@ -50,35 +57,24 @@ ui_DATA = \
mate-screenshot.ui \
$(NULL)
+gsettingsschema_in_files = org.mate.screenshot.gschema.xml.in
+gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
+.PRECIOUS: $(gsettings_SCHEMAS)
+
+@INTLTOOL_XML_NOMERGE_RULE@
+
+@GSETTINGS_RULES@
+
EXTRA_DIST = \
- $(schemas_in_files) \
+ $(gsettingsschema_in_files) \
$(mate_screenshot_in_files) \
$(man_MANS) \
$(ui_DATA) \
$(NULL)
-schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
-schemas_in_files = \
- mate-screenshot.schemas.in \
- $(NULL)
-schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
-
-@INTLTOOL_SCHEMAS_RULE@
-
-if MATECONF_SCHEMAS_INSTALL
-install-data-local:
- if test -z "$(DESTDIR)" ; then \
- for p in $(schemas_DATA) ; do \
- MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/mate-screenshot/$$p ; \
- done ; \
- fi
-else
-install-data-local:
-endif
-
CLEANFILES = \
$(BUILT_SOURCES) \
- $(schemas_in_files:.schemas.in=.schemas) \
+ $(gsettings_SCHEMAS) \
$(mate_screenshot_DATA) \
$(sys_DATA)