Skip building Arora if Qt4 repo is not present

This commit is contained in:
Norman Feske 2012-04-04 21:50:37 +02:00
parent df95b8b2b4
commit abb5a8a329
1 changed files with 7 additions and 2 deletions

View File

@ -2,9 +2,14 @@ ARORA = arora-0.11.0
# identify the qt4 repository by searching for a file that is unique for qt4
QT4_REP_DIR := $(call select_from_repositories,lib/import/import-qt4.inc)
ifeq ($(QT4_REP_DIR),)
REQUIRES += qt4
endif
QT4_REP_DIR := $(realpath $(dir $(QT4_REP_DIR))../..)
include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
-include $(QT4_REP_DIR)/src/app/tmpl/target_defaults.inc
HEADERS_FILTER_OUT = \
adblockschemeaccesshandler.h \
@ -75,4 +80,4 @@ vpath % $(REP_DIR)/contrib/$(ARORA)/src/qwebplugins/nitpicker
vpath % $(REP_DIR)/contrib/$(ARORA)/src/useragent
vpath % $(REP_DIR)/contrib/$(ARORA)/src/utils
include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc
-include $(QT4_REP_DIR)/src/app/tmpl/target_final.inc