make-rules/prep-hg.mk
changeset 5682 94c0ca64c022
parent 4358 76306610179e
child 6911 7b878dfe6f0d
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
    21 
       
    22 #
       
    23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    24 #
    23 
    25 
    24 HG =		/usr/bin/hg
    26 HG =		/usr/bin/hg
    25 
    27 
    26 #
    28 #
    34 ifdef HG_REPO$(1)
    36 ifdef HG_REPO$(1)
    35 ifdef HG_REV$(1)
    37 ifdef HG_REV$(1)
    36 
    38 
    37 COMPONENT_SRC$(1) = $$(COMPONENT_NAME$(1))-$(COMPONENT_VERSION)-$$(HG_REV$(1))
    39 COMPONENT_SRC$(1) = $$(COMPONENT_NAME$(1))-$(COMPONENT_VERSION)-$$(HG_REV$(1))
    38 COMPONENT_ARCHIVE$(1) = $$(COMPONENT_SRC$(1)).tar.bz2
    40 COMPONENT_ARCHIVE$(1) = $$(COMPONENT_SRC$(1)).tar.bz2
       
    41 COMPONENT_ARCHIVE_SRC$(1) = hg
    39 
    42 
    40 CLEAN_PATHS += $$(COMPONENT_SRC$(1))
    43 CLEAN_PATHS += $$(COMPONENT_SRC$(1))
    41 CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1))
    44 CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1))
    42 SOURCE_DIR$(1) = $$(COMPONENT_DIR)/$(COMPONENT_SRC$(1))
    45 SOURCE_DIR$(1) = $$(COMPONENT_DIR)/$(COMPONENT_SRC$(1))
    43 
    46