Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
/build-aux
/pbs.conf
/missing
/build-aux
/pbs.conf
/missing
+/src/buildservice/constants.py
/src/buildservice/__version__.py
/tmp
/.vscode
/src/buildservice/__version__.py
/tmp
/.vscode
buildservicedir = $(pythondir)/buildservice
buildservicedir = $(pythondir)/buildservice
+EXTRA_DIST += \
+ src/buildservice/constants.py.in
+
+CLEANFILES += \
+ src/buildservice/constants.py
+
hub_PYTHON = \
src/hub/__init__.py \
src/hub/handlers.py
hub_PYTHON = \
src/hub/__init__.py \
src/hub/handlers.py
'|PACKAGE_NAME=$(PACKAGE_NAME)|' \
'|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
'|configsdir=$(configsdir)|' \
'|PACKAGE_NAME=$(PACKAGE_NAME)|' \
'|PACKAGE_VERSION=$(PACKAGE_VERSION)|' \
'|configsdir=$(configsdir)|' \
+ '|bindir=$(bindir)|' \
+ '|datadir=$(datadir)|'
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
SED_PROCESS = \
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
# Import all constants from the pakfire module.
from pakfire.constants import *
# Import all constants from the pakfire module.
from pakfire.constants import *
-# XXX must be set by configure
-DATADIR = "/usr/share/pakfire-build-service"
+CONFIGSDIR = "@configsdir@"
+DATADIR = "@datadir@"
PAKFIRE_DIR = "/pakfire"
PACKAGES_DIR = os.path.join(PAKFIRE_DIR, "packages")
PAKFIRE_DIR = "/pakfire"
PACKAGES_DIR = os.path.join(PAKFIRE_DIR, "packages")