From c4eb236a2c9f07ec236c82f0113139c343a07224 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 22 Dec 2012 10:09:24 +0100 Subject: 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. --- Makefile.am | 4 ++-- make-man-index.py | 1 - src/locale/generate-kbd-model-map | 2 -- 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 -- cgit v1.2.3-54-g00ecf