summaryrefslogtreecommitdiff
path: root/src/poi-service/script/get-positioning.mk
blob: 42f02062a9da68e9319f417891cc68c2eeb4cadf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# \copyright Copyright (C) 2013-2014, PCA Peugeot Citroen
#
# \file get-positioning.mk
#
# \brief This file is part of the Build System.
#
# \author Martin Schaller <martin.schaller@it-schaller.de>
# \author Philippe Colliot <philippe.colliot@mpsa.com>
#
# \version 1.0
#
# This Source Code Form is subject to the terms of the
# Mozilla Public License (MPL), v. 2.0.
# If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# For further information see http://www.genivi.org/.
#
# List of changes:
# 
# 28-04-2014, Philippe Colliot, link to the public repos of positioning, add clean feature
# 
# @licence end@
positioning_SRC=$(ROOT_DIR)/positioning
positioning_API=$(positioning_SRC)/enhanced-position-service/api
positioning_URL=http://git.projects.genivi.org/lbs/positioning.git
positioning_VERSION=c97c3e10cb0f38dfed5e17b995e33173567d2dbf

ALL+=positioning
CLEAN+=clean-get-positioning

help::
	@echo "positioning: Get positioning"

positioning: $(positioning_API)/genivi-positioning-enhancedposition.xml

clean-get-positioning:: 
	rm -rf $(positioning_SRC)

$(positioning_API)/genivi-positioning-enhancedposition.xml:
	cd $(positioning_SRC)/.. && git clone $(positioning_URL)
	cd $(positioning_SRC) && git checkout $(positioning_VERSION)