]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pakfire/patches/0004-Make-a-variable-that-contains-all-python-files.patch
pakfire: Import latest patches from upstream.
[people/ms/ipfire-3.x.git] / pakfire / patches / 0004-Make-a-variable-that-contains-all-python-files.patch
CommitLineData
91d1c8a9
MT
1From 8be83109b81fde156138afc7de9fb248095cca35 Mon Sep 17 00:00:00 2001
2From: Michael Tremer <michael.tremer@ipfire.org>
3Date: Thu, 24 Jan 2013 02:36:10 +0100
4Subject: [PATCH 04/17] Make a variable that contains all python files.
5
6---
7 Makeconfig | 5 +++--
8 1 file changed, 3 insertions(+), 2 deletions(-)
9
10diff --git a/Makeconfig b/Makeconfig
11index 0c67353..e717238 100644
12--- a/Makeconfig
13+++ b/Makeconfig
14@@ -39,6 +39,8 @@ ifeq "$(DEBIAN)" "1"
15 else
16 PYTHON_DIR = $(LIBDIR)/python$(PYTHON_VERSION)/site-packages
17 endif
18+PYTHON_FILES = $(addsuffix /*.py,$(addprefix python/,$(PYTHON_MODULES)))
19+PYTHON_FILES += tools/pakfire-multicall.py
20
21 # The place, where all internally used scripts and bins are copied.
22 SCRIPT_DIR = $(PREFIX)/lib/$(PACKAGE_NAME)
23@@ -47,5 +49,4 @@ TOP := $(dir $(lastword $(MAKEFILE_LIST)))
24
25 # A list of all files that contain translations and need to
26 # be indexed.
27-TRANS_FILES = $(addsuffix /*.py,$(addprefix python/,$(PYTHON_MODULES)))
28-TRANS_FILES += python/src/*.c tools/pakfire-multicall.py
29+TRANS_FILES = $(PYTHON_FILES) python/src/*.c
30--
311.8.1.2
32