group/vpnclient_version_update.flm
changeset 0 33413c0669b9
child 4 29b591713d44
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the License "Symbian Foundation License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 # ============================================================================
       
    18 # vpnclient_version_update.flm
       
    19 # This flm will update the version of vpnclient into generated version.h file.
       
    20 #
       
    21 # Version update Function Like Makefile (FLM)
       
    22 # The file destinations  relative to EPOCROOT
       
    23 # ============================================================================
       
    24 
       
    25 
       
    26 define updateversion
       
    27 $(GUARD):=1
       
    28 
       
    29 BITMAP:: $(EXTENSION_ROOT)/$(VU_TOOL)
       
    30 	$(call startrule,vpnclient_version_update,FORCESUCCESS) \
       
    31 	cd $(EXTENSION_ROOT) && $(PERL) $(VU_TOOL) \
       
    32 	$(call endrule,vpnclient_version_update)
       
    33 endef
       
    34 
       
    35 ifeq ($($(GUARD)),)
       
    36 $(eval -$(updateversion))
       
    37 endif
       
    38