summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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