From ca817a6eefe55e3ec2d2e5fd93a0a252429f51e2 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Mon, 24 Jun 2013 11:11:07 +0200 Subject: Fixes for make dist --- Makefile.am | 1 - configure.ac | 2 +- data/Makefile.am | 57 ++++++++++++++++++++++++++++++-------------------------- 3 files changed, 32 insertions(+), 28 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8b841d0..14617a5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,6 @@ SUBDIRS = \ $(NULL) EXTRA_DIST = \ - MAINTAINERS \ ChangeLog \ README \ $(NULL) diff --git a/configure.ac b/configure.ac index cbed95f..900e215 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ AC_INIT([mate-settings-daemon], AC_CONFIG_SRCDIR([mate-settings-daemon/mate-settings-manager.c]) -AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2 tar-ustar]) +AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz tar-ustar]) m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) diff --git a/data/Makefile.am b/data/Makefile.am index c34c585..3122ea8 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,35 +1,39 @@ NULL = -gsettings_SCHEMAS = \ - org.mate.applications-at.gschema.xml \ - org.mate.font-rendering.gschema.xml \ - org.mate.keybindings.gschema.xml \ - org.mate.peripherals-smartcard.gschema.xml \ - org.mate.peripherals-touchpad.gschema.xml \ - org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml \ - org.mate.SettingsDaemon.plugins.background.gschema.xml \ - org.mate.SettingsDaemon.plugins.clipboard.gschema.xml \ - org.mate.SettingsDaemon.plugins.datetime.gschema.xml \ - org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml \ - org.mate.SettingsDaemon.plugins.keybindings.gschema.xml \ - org.mate.SettingsDaemon.plugins.keyboard.gschema.xml \ - org.mate.SettingsDaemon.plugins.media-keys.gschema.xml \ - org.mate.SettingsDaemon.plugins.mpris.gschema.xml \ - org.mate.SettingsDaemon.plugins.mouse.gschema.xml \ - org.mate.SettingsDaemon.plugins.smartcard.gschema.xml \ - org.mate.SettingsDaemon.plugins.sound.gschema.xml \ - org.mate.SettingsDaemon.plugins.typing-break.gschema.xml \ - org.mate.SettingsDaemon.plugins.xrandr.gschema.xml \ - org.mate.SettingsDaemon.plugins.xrdb.gschema.xml \ - org.mate.SettingsDaemon.plugins.xsettings.gschema.xml \ +msd_gschemas_in_in = \ + org.mate.applications-at.gschema.xml.in.in \ + org.mate.font-rendering.gschema.xml.in.in \ + org.mate.keybindings.gschema.xml.in.in \ + org.mate.peripherals-smartcard.gschema.xml.in.in \ + org.mate.peripherals-touchpad.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.background.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.clipboard.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.datetime.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.keybindings.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.keyboard.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.mpris.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.mouse.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.smartcard.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.sound.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.typing-break.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.xrandr.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.xrdb.gschema.xml.in.in \ + org.mate.SettingsDaemon.plugins.xsettings.gschema.xml.in.in \ $(NULL) @INTLTOOL_XML_NOMERGE_RULE@ -@GSETTINGS_RULES@ + +msd_gschemas_in = $(msd_gschemas_in_in:.xml.in.in=.xml.in) +gsettings_SCHEMAS = $(msd_gschemas_in:.xml.in=.xml) %.gschema.xml.in: %.gschema.xml.in.in Makefile $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ +@GSETTINGS_RULES@ + convertdir = $(datadir)/MateConf/gsettings convert_DATA = mate-settings-daemon.convert @@ -52,11 +56,11 @@ pkgconfig_DATA = mate-settings-daemon.pc #disabled until we support it #xmldir = @MATE_KEYBINDINGS_KEYSDIR@ -#xml_in_files = 50-accessibility.xml.in +xml_in_files = 50-accessibility.xml.in #xml_DATA = $(xml_in_files:.xml.in=.xml) EXTRA_DIST = \ - $(schemas_in_files) \ + $(msd_gschemas_in_in) \ $(convert_DATA) \ $(service_in_files) \ $(desktop_in_files) \ @@ -65,7 +69,8 @@ EXTRA_DIST = \ $(NULL) DISTCLEANFILES = \ - $(schemas_DATA) \ + $(gsettings_SCHEMAS) \ + $(msd_gschemas_in) \ $(service_DATA) \ $(desktop_DATA) \ $(xml_DATA) \ -- cgit v1.2.1