summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/script/Makefile6
-rw-r--r--test/script/simulation-dashboard.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/script/Makefile b/src/script/Makefile
index 237e7ea..10d7aa8 100644
--- a/src/script/Makefile
+++ b/src/script/Makefile
@@ -22,6 +22,7 @@
# List of changes:
#
# 4/6/2014, Philippe Colliot, complete src-clean option
+# 18/6/2014, Philippe Colliot, APT_GET option for Fedora
#
# @licence end@
@@ -29,7 +30,9 @@ SRC_DIR=$(CURDIR)/../../src
PATCH_DIR=$(SRC_DIR)/patches
BIN_DIR=$(CURDIR)/../../bin
QMAKE=qmake
-APT_GET=apt-get
+ifndef $(APT_GET)
+ APT_GET=apt-get
+endif
default: help
@@ -39,6 +42,7 @@ help::
@echo "all2: Install all necessary dependencies and build all"
@echo "clean: Clean up build dir"
@echo "src-clean: Clean up all checked out sources"
+ @echo "make APT_GET=yum for Fedora, by default APT_GET is set to apt-get"
include *.mk
diff --git a/test/script/simulation-dashboard.py b/test/script/simulation-dashboard.py
index 1c16456..c3268f7 100644
--- a/test/script/simulation-dashboard.py
+++ b/test/script/simulation-dashboard.py
@@ -18,12 +18,10 @@
* This Source Code Form is subject to the terms of the
* Mozilla Public License, 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/.
-
* List of changes:
* <date>, <name>, <description of change>
*
* @licence end@
-
**************************************************************************
"""
import sys,tty,termios,select,pygame,gobject,time,dbus,re