themes.pro
changeset 1 28e8d4c0e55e
parent 0 4ee42872ac7b
child 2 ee79fe77b3c7
child 5 10b7194ec8b4
equal deleted inserted replaced
0:4ee42872ac7b 1:28e8d4c0e55e
     1 #
       
     2 # ============================================================================
       
     3 #  Name        : themes.pro
       
     4 #  Part of     : Hb-platformthemes
       
     5 #  Description : Project definition file for project Hb-platformthemes
       
     6 #  Version     : %version: 1 %
       
     7 #
       
     8 #  Copyright (c) 2008-2009 Nokia.  All rights reserved.
       
     9 #  This material, including documentation and any related computer
       
    10 #  programs, is protected by copyright controlled by Nokia.  All
       
    11 #  rights are reserved.  Copying, including reproducing, storing,
       
    12 #  adapting or translating, any or all of this material requires the
       
    13 #  prior written consent of Nokia.  This material also contains
       
    14 #  confidential information which may not be disclosed to others
       
    15 #  without the prior written consent of Nokia.
       
    16 # ============================================================================
       
    17 #
       
    18 
       
    19 TEMPLATE = subdirs
       
    20 !symbian {
       
    21     HB_THEMES_DIR = $$(HB_THEMES_DIR)
       
    22     isEmpty(HB_THEMES_DIR):error(HB_THEMES_DIR environment variable is not set)
       
    23 }
       
    24 ARGS = -v --input $$IN_PWD/src
       
    25 !symbian:ARGS += --extract
       
    26 system(python $$IN_PWD/bin/sync.py $$ARGS)
       
    27 
       
    28 symbian {
       
    29     install.depends = export
       
    30     QMAKE_EXTRA_TARGETS += install
       
    31     message(Run 'make export')
       
    32 } else {
       
    33     export.depends = install
       
    34     QMAKE_EXTRA_TARGETS += export
       
    35     message(Run 'make install')
       
    36 }
       
    37 
       
    38 include(themes.pri)