[gedit-latex] Do not duplicate variables



commit fba1d28b965513cda37a1eca5b1fc469c311d507
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jun 27 23:18:02 2011 +0200

    Do not duplicate variables

 Makefile.am |   33 ++++++++++++++++-----------------
 1 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3280d5e..85aea16 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,17 +2,31 @@ SUBDIRS = data latex po
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
+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 =			\
 	autogen.sh		\
 	gedit-latex.doap	\
 	intltool-extract.in 	\
 	intltool-merge.in 	\
-	intltool-update.in
+	intltool-update.in	\
+	$(plugin_in_files)
+
+CLEANFILES =			\
+	$(plugin_DATA)
 
 DISTCLEANFILES = 		\
 	intltool-extract 	\
 	intltool-merge 		\
-	intltool-update
+	intltool-update		\
+	$(plugin_DATA)
 
 MAINTAINERCLEANFILES = 		\
 	aclocal.m4		\
@@ -27,19 +41,4 @@ 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



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