[latexila] Autotools: CLEANFILES variable for the src/ directory



commit 273f27de4744ed93493953188b23eab633b81542
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Mon Sep 3 18:33:59 2012 +0200

    Autotools: CLEANFILES variable for the src/ directory

 src/Makefile.am |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 03d5cb0..df56ece 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ VALAFLAGS =			\
 # directory. If $(top_srcdir) is used, it will be relative to the build directory.
 vapidir = ../vapi
 
-latexila_SOURCES = 			\
+vala_files =				\
 	app_settings.vala		\
 	bottom_panel.vala		\
 	build_command_runner.vala	\
@@ -60,7 +60,10 @@ latexila_SOURCES = 			\
 	tab_info_bar.vala		\
 	templates_dialogs.vala		\
 	templates.vala			\
-	utils.vala			\
+	utils.vala
+
+latexila_SOURCES = 			\
+	$(vala_files)			\
 	$(vapidir)/config.vapi		\
 	$(vapidir)/gedit.vapi		\
 	$(vapidir)/gtkspell-2.0.vapi	\
@@ -78,6 +81,10 @@ latexila_LDADD = 			\
 	gedit/libgedit.la		\
 	resources/libresources.la
 
+CLEANFILES =			\
+	$(vala_files:.vala=.c)	\
+	latexila_vala.stamp
+
 INCLUDES = -include config.h
 
 -include $(top_srcdir)/git.mk



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