[libgweather] [build] Make out-of-tree build work



commit 7eaaf1138f68b2e33f10fbfcd632e36f75568363
Author: Emilio Pozuelo Monfort <pochu ubuntu com>
Date:   Wed Sep 9 01:42:47 2009 +0200

    [build] Make out-of-tree build work
    
    http://bugzilla.gnome.org/show_bug.cgi?id=592109

 python/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/python/Makefile.am b/python/Makefile.am
index 502705b..9bac907 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -1,5 +1,6 @@
 if BUILD_PYTHON
 INCLUDES =			\
+	-I$(top_srcdir)		\
 	$(PYTHON_INCLUDES)	\
 	$(PYGOBJECT_CFLAGS)	\
 	$(GTK_CFLAGS)
@@ -23,7 +24,7 @@ gweather.c: gweather.defs gweather.override
 
 install-exec-hook:
 	$(MKDIR_P) "$(DESTDIR)$(pyunstabledir)"
-	$(INSTALL_DATA) bad__init__.py "$(DESTDIR)$(pyexecdir)/gweather/__init__.py"
+	$(INSTALL_DATA) $(srcdir)/bad__init__.py "$(DESTDIR)$(pyexecdir)/gweather/__init__.py"
 	touch $(DESTDIR)$(pyunstabledir)/__init__.py
 	chmod a+x $(DESTDIR)$(pyunstabledir)/__init__.py
 



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