]> git.ipfire.org Git - pakfire.git/commitdiff
Make a variable that contains all python files.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:36:10 +0000 (02:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Jan 2013 01:36:10 +0000 (02:36 +0100)
Makeconfig

index 0c67353160f453b5243a05e5a303f792f77a4583..e717238f696a2c696ee160f9248e0d92918f0fc2 100644 (file)
@@ -39,6 +39,8 @@ ifeq "$(DEBIAN)" "1"
 else
        PYTHON_DIR = $(LIBDIR)/python$(PYTHON_VERSION)/site-packages
 endif
+PYTHON_FILES   = $(addsuffix /*.py,$(addprefix python/,$(PYTHON_MODULES)))
+PYTHON_FILES  += tools/pakfire-multicall.py
 
 # The place, where all internally used scripts and bins are copied.
 SCRIPT_DIR     = $(PREFIX)/lib/$(PACKAGE_NAME)
@@ -47,5 +49,4 @@ TOP := $(dir $(lastword $(MAKEFILE_LIST)))
 
 # A list of all files that contain translations and need to
 # be indexed.
-TRANS_FILES  = $(addsuffix /*.py,$(addprefix python/,$(PYTHON_MODULES)))
-TRANS_FILES += python/src/*.c tools/pakfire-multicall.py
+TRANS_FILES  = $(PYTHON_FILES) python/src/*.c