mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
make the think independent from my machine; add a REAME file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19401 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1452e0d285
commit
e105b2bbd7
5
development/qmake/README
Normal file
5
development/qmake/README
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
- Create a directory in paralle to your source tree
|
||||
- cd there
|
||||
- Run ../<sourcetree>/development/qmake/doit
|
||||
- Run make or make debug
|
@ -6,11 +6,8 @@ CONFIG += create_prl
|
||||
|
||||
DESTDIR = ../lib
|
||||
|
||||
BUILD_BASE_SOURCE_DIR = /suse/usr/src/lyx/trunk
|
||||
BUILD_BASE_TARGET_DIR = /suse/usr/src/lyx/qmake
|
||||
|
||||
#message(BUILD_BASE_SOURCE_DIR: $${BUILD_BASE_SOURCE_DIR})
|
||||
#message(BUILD_BASE_TARGET_DIR: $${BUILD_BASE_TARGET_DIR})
|
||||
BUILD_BASE_SOURCE_DIR = $$[BUILD_BASE_SOURCE_DIR]
|
||||
BUILD_BASE_TARGET_DIR = $$[BUILD_BASE_TARGET_DIR]
|
||||
|
||||
# for <config.h>
|
||||
INCLUDEPATH += $${BUILD_BASE_TARGET_DIR}/src
|
||||
|
@ -1,6 +1,13 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
TARGET_DIR=$(pwd)
|
||||
SOURCE_DIR=$(dirname $(dirname $(dirname $TARGET_DIR/$0 | sed -e 's:/[^/]*/\.\.::')))
|
||||
|
||||
echo "Setting SOURCE_DIR ${SOURCE_DIR}"
|
||||
echo "Setting TARGET_DIR ${TARGET_DIR}"
|
||||
|
||||
qmake -set BUILD_BASE_SOURCE_DIR ${SOURCE_DIR}
|
||||
qmake -set BUILD_BASE_TARGET_DIR ${TARGET_DIR}
|
||||
|
||||
qmake -r "$@" ${SOURCE_DIR}/development/qmake/lyx.pro
|
||||
|
||||
SOURCE_DIR=`pwd`
|
||||
TARGET_DIR=`dirname $SOURCE_DIR/$0`
|
||||
echo $SOURCE_DIR $TARGET_DIR
|
||||
#qmake -r ../trunk/development/qmake/lyx.pro
|
||||
|
Loading…
Reference in New Issue
Block a user