From d0371bef82a055b52a71706c13c3fab196510354 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 6 Oct 2014 09:55:02 -0400 Subject: Clean up the new global.h usage in all the Lumina subprojects. 1) Move the global.h file usage into libLumina exclusively 2) Define a new "LuminaOS::LuminaShare()" function for retrieving the install directory for Lumina (based on the PREFIX/global.h) 3) Change all the other lumina sub directories/projects to use the new LuminaShare() function when necessary. 4) This also fixes up the loading of translations in many of the subprojects (found a bug in the path used in a number of them). Reason: Previous implementation *only* worked if you built lumina from the base directory, causing problems with rebuilding individual pieces of Lumina. This also cleans up the general lumina projects as they only need the LuminaOS class loaded instead of knowing about this other possible OS implementation. --- lumina.pro | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lumina.pro') diff --git a/lumina.pro b/lumina.pro index c709ccd0..011a8f9c 100644 --- a/lumina.pro +++ b/lumina.pro @@ -1,9 +1,3 @@ -isEmpty(PREFIX) { - PREFIX = /usr/local -} - -system(make-global-h.sh $$PREFIX) - TEMPLATE = subdirs SUBDIRS+= libLumina \ -- cgit