[Lunar-commits] <moonbase> qtscriptgenerator: Adjusting BUILD for qt4 paths.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Sep 22 17:30:50 CEST 2010


commit 84809781aea7d0b5ddbbef1e83df0c6b4a064524
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Sep 22 11:30:50 2010 -0400

    qtscriptgenerator: Adjusting BUILD for qt4 paths.
---
 qt4-apps/qtscriptgenerator/BUILD |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/qt4-apps/qtscriptgenerator/BUILD b/qt4-apps/qtscriptgenerator/BUILD
index 4f235d2..886dc5d 100644
--- a/qt4-apps/qtscriptgenerator/BUILD
+++ b/qt4-apps/qtscriptgenerator/BUILD
@@ -2,19 +2,21 @@
 
   . /etc/profile.d/qt4.rc &&
 
+  OPTS+=" --include-paths=/usr/include/qt4" &&
+
 # A qucik gcc-4.4.1 hack. Revisit when this module gets a version bump
   sed -i "33i #include <cstdio>" generator/parser/rpp/pp.h &&
 
-  cd generator     &&
-  qmake            &&
-  make release     &&
-  ./generator      &&
+  cd generator      &&
+  qmake             &&
+  make release      &&
+  ./generator $OPTS &&
 
-  cd ../qtbindings &&
-  qmake            &&
-  make             &&
+  cd ../qtbindings  &&
+  qmake             &&
+  make              &&
 
-  prepare_install  &&
+  prepare_install   &&
   install ../plugins/script/* /usr/lib/qt4/plugins/script/
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list