[gedit] Small cleanup of long lines in makefiles
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Small cleanup of long lines in makefiles
- Date: Mon, 13 Jan 2014 11:46:45 +0000 (UTC)
commit bd910baf79fd6072e9a8820b3fc20023be4eb7a4
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Jan 13 12:45:37 2014 +0100
Small cleanup of long lines in makefiles
plugins/externaltools/Makefile.am | 21 +++++++++++----------
plugins/pythonconsole/Makefile.am | 17 +++++++++--------
2 files changed, 20 insertions(+), 18 deletions(-)
---
diff --git a/plugins/externaltools/Makefile.am b/plugins/externaltools/Makefile.am
index 93f1f83..447e97d 100644
--- a/plugins/externaltools/Makefile.am
+++ b/plugins/externaltools/Makefile.am
@@ -1,3 +1,8 @@
+externaltools_gschema = \
+ plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml
+
+externaltools_plugin_in = plugins/externaltools/externaltools.plugin.desktop.in
+
if !OS_WIN32
if ENABLE_PYTHON
@@ -6,23 +11,19 @@ include plugins/externaltools/data/Makefile.am
EXTRA_DIST += plugins/externaltools/scripts/gedit-tool-merge.pl
-plugin_in_files += plugins/externaltools/externaltools.plugin.desktop.in
-plugin_gsettings_SCHEMAS += \
- plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml
+plugin_in_files += $(externaltools_plugin_in)
+plugin_gsettings_SCHEMAS += $(externaltools_gschema)
else
-dist_plugin_in_files += plugins/externaltools/externaltools.plugin.desktop.in
-dist_plugin_gsettings_SCHEMAS += \
- plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml
-
+dist_plugin_in_files += $(externaltools_plugin_in)
+dist_plugin_gsettings_SCHEMAS += $(externaltools_schema)
endif
else
-dist_plugin_in_files += plugins/externaltools/externaltools.plugin.desktop.in
-dist_plugin_gsettings_SCHEMAS += \
- plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml
+dist_plugin_in_files += $(externaltools_plugin_in)
+dist_plugin_gsettings_SCHEMAS += $(externaltools_schema)
endif
diff --git a/plugins/pythonconsole/Makefile.am b/plugins/pythonconsole/Makefile.am
index 63c81e9..6ba31f2 100644
--- a/plugins/pythonconsole/Makefile.am
+++ b/plugins/pythonconsole/Makefile.am
@@ -1,3 +1,8 @@
+pythonconsole_gschema = \
+ plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml
+
+pythonconsole_plugin_in = plugins/pythonconsole/pythonconsole.plugin.desktop.in
+
if ENABLE_PYTHON
plugins_pythonconsoledir = $(plugindir)/pythonconsole
@@ -9,16 +14,12 @@ plugins_pythonconsole_PYTHON = \
plugins_pythonconsole_uidir = $(GEDIT_PLUGINS_DATA_DIR)/pythonconsole/ui
dist_plugins_pythonconsole_ui_DATA = plugins/pythonconsole/pythonconsole/config.ui
-plugin_gsettings_SCHEMAS += \
- plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml
-
-plugin_in_files += plugins/pythonconsole/pythonconsole.plugin.desktop.in
+plugin_gsettings_SCHEMAS += $(pythonconsole_gschema)
+plugin_in_files += $(pythonconsole_plugin_in)
else
-dist_plugin_gsettings_SCHEMAS += \
- plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml
-
-dist_plugin_in_files += plugins/pythonconsole/pythonconsole.plugin.desktop.in
+dist_plugin_gsettings_SCHEMAS += $(pythonconsole_gschema)
+dist_plugin_in_files += $(pythonconsole_plugin_in)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]