[gnome-control-center] Fix build of generated sources.



commit 0cbc8ea27ae3eb2f8f1b7572e5f877a2dd6f7850
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Feb 10 16:54:49 2011 -0500

    Fix build of generated sources.

 panels/background/Makefile.am |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/panels/background/Makefile.am b/panels/background/Makefile.am
index fae8678..687edf3 100644
--- a/panels/background/Makefile.am
+++ b/panels/background/Makefile.am
@@ -28,14 +28,17 @@ INCLUDES =						\
 ccpanelsdir = $(PANELS_DIR)
 ccpanels_LTLIBRARIES = libbackground.la
 
+BUILT_SOURCES =            \
+	gdesktop-enums-types.c \
+	gdesktop-enums-types.h
+
 libbackground_la_SOURCES =		\
+	$(BUILT_SOURCES)			\
 	background-module.c		\
 	cc-background-panel.c		\
 	cc-background-panel.h		\
 	cc-background-item.c		\
 	cc-background-item.h		\
-	gdesktop-enums-types.c		\
-	gdesktop-enums-types.h		\
 	bg-source.c			\
 	bg-source.h			\
 	bg-pictures-source.c		\
@@ -92,6 +95,6 @@ desktopdir = $(datadir)/applications
 desktop_in_files = gnome-background-panel.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
-CLEANFILES = $(desktop_in_files) $(desktop_DATA) stamp-gdesktop-enums-types.h gdesktop-enums-types.h gdesktop-enums-types.c
+CLEANFILES = $(desktop_in_files) $(desktop_DATA) $(BUILT_SOURCES) stamp-gdesktop-enums-types.h
 
 -include $(top_srcdir)/git.mk



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