[gedit-latex] Move latex.plugin to the root dir



commit 5fd204bde3dfe5896190dab318b2d69bd6bd71b2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jun 27 23:10:33 2011 +0200

    Move latex.plugin to the root dir

 Makefile.am                                        |   15 ++++++++++++++
 configure.ac                                       |    2 +-
 ...gin.desktop.in.in => latex.plugin.desktop.in.in |    0
 latex/Makefile.am                                  |   21 +++++--------------
 4 files changed, 22 insertions(+), 16 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0b4c3f3..dbbccc4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,4 +27,19 @@ MAINTAINERCLEANFILES = 		\
 	py-compile		\
 	`find "$(srcdir)" -type f -name Makefile.in -print`
 
+plugindir = $(libdir)/gedit/plugins
+
+plugin_in_files = latex.plugin.desktop.in
+
+%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
+	$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
+
+plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
+
+EXTRA_DIST = $(plugin_in_files)
+
+CLEANFILES = $(plugin_DATA)
+
+DISTCLEANFILES = $(plugin_DATA)
+
 -include $(top_srcdir)/git.mk
diff --git a/configure.ac b/configure.ac
index 99bf64b..a21d462 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,8 +73,8 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 
 AC_CONFIG_FILES([
 Makefile
+latex.plugin.desktop.in
 latex/gldefs.py
-latex/latex.plugin.desktop.in
 latex/org.gnome.gedit.plugins.latex.gschema.xml.in
 latex/Makefile
 latex/base/Makefile
diff --git a/latex/latex.plugin.desktop.in.in b/latex.plugin.desktop.in.in
similarity index 100%
rename from latex/latex.plugin.desktop.in.in
rename to latex.plugin.desktop.in.in
diff --git a/latex/Makefile.am b/latex/Makefile.am
index 3bbc3e7..9a9e3c3 100644
--- a/latex/Makefile.am
+++ b/latex/Makefile.am
@@ -1,22 +1,13 @@
 SUBDIRS = base bibtex icons latex preferences templates tools ui util
 
-plugindir = $(libdir)/gedit/plugins
-
-plugin_in_files = latex.plugin.desktop.in
-
-%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po)
-	$(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-
-plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
+plugindir = $(libdir)/gedit/plugins/latex
 
 gsettings_SCHEMAS = org.gnome.gedit.plugins.latex.gschema.xml
 
 @INTLTOOL_XML_NOMERGE_RULE@
 @GSETTINGS_RULES@
 
-pluginlatexdir = $(plugindir)/latex
-
-pluginlatex_PYTHON = \
+plugin_PYTHON = \
 	gldefs.py \
 	__init__.py \
 	issues.py \
@@ -25,17 +16,17 @@ pluginlatex_PYTHON = \
 	util.py \
 	views.py
 
-pluginlatex_DATA = \
+plugin_DATA = \
 	bibtex.xml \
 	latex.xml \
 	listings.xml \
 	symbols.xml \
 	tools.xml
 
-EXTRA_DIST = $(plugin_in_files)  org.gnome.gedit.plugins.latex.gschema.xml.in.in
+EXTRA_DIST = org.gnome.gedit.plugins.latex.gschema.xml.in.in
 
-CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
+CLEANFILES = $(gsettings_SCHEMAS)
 
-DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS)
+DISTCLEANFILES = $(gsettings_SCHEMAS)
 
 -include $(top_srcdir)/git.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]