summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-12-22 10:09:24 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-01-04 22:22:21 -0500
commitc4eb236a2c9f07ec236c82f0113139c343a07224 (patch)
treec91c1e4c676fb7f5cb1a9d0099d4e06683254661
parent2f4da3e6c298bc0ae6243cae47aedb01c50fa870 (diff)
build-sys: invoke scripts with $PYTHON during build
Python binary to be used during compilation can be set with ./configure PYTHON=... The she-bang line is removed, since it is not used anymore.
-rw-r--r--Makefile.am4
-rwxr-xr-xmake-man-index.py1
-rwxr-xr-xsrc/locale/generate-kbd-model-map2
3 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index e81998d3b2..74a432930b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3307,8 +3307,8 @@ dist_pkgdata_DATA += \
dist_noinst_SCRIPT = \
src/locale/generate-kbd-model-map
-update-kbd-model-map:
- src/locale/generate-kbd-model-map > src/locale/kbd-model-map
+update-kbd-model-map: src/locale/generate-kbd-model-map
+ $PYTHON $< > src/locale/kbd-model-map
localectl_SOURCES = \
src/locale/localectl.c
diff --git a/make-man-index.py b/make-man-index.py
index 56f38ce413..b40c963f94 100755
--- a/make-man-index.py
+++ b/make-man-index.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- Mode: python; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/src/locale/generate-kbd-model-map b/src/locale/generate-kbd-model-map
index 624c5179fa..b8ffa0f226 100755
--- a/src/locale/generate-kbd-model-map
+++ b/src/locale/generate-kbd-model-map
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
import sys
import system_config_keyboard.keyboard_models