summaryrefslogtreecommitdiffstats
path: root/redhat/Makefile.r14
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-12-09 13:38:09 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2018-12-09 13:39:00 +0100
commit728509a18e27b35b2437084dc070ab86ad505bfe (patch)
tree458fc4a1baf59288a2621bbfd81dbff77fa4638a /redhat/Makefile.r14
parent1778a4c9ad302e363f739045d4e8ae25f5a40a33 (diff)
downloadtde-packaging-728509a18e27b35b2437084dc070ab86ad505bfe.tar.gz
tde-packaging-728509a18e27b35b2437084dc070ab86ad505bfe.zip
RPM: update build scripts
Diffstat (limited to 'redhat/Makefile.r14')
-rw-r--r--redhat/Makefile.r148
1 files changed, 4 insertions, 4 deletions
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14
index 49e769162..9c92723fc 100644
--- a/redhat/Makefile.r14
+++ b/redhat/Makefile.r14
@@ -1,12 +1,12 @@
SHELL := /bin/bash
-PACKAGING_DIR := $(shell cd ..; pwd)
PATH := $(PATH):$(shell pwd)/build
-TDE_VERSION := 14.0.5
+TDE_VERSION := $(shell echo $${TDE_VERSION:-14.0.5})
+TDE_PACKAGING_DIR := $(shell [ -n "$${TDE_PACKAGING_DIR}" ] && cd "$${TDE_PACKAGING_DIR}" || cd ..; pwd)
DIST := $(shell rpm -E %dist)
buildpkg = \
- @echo "Now processing '$(1)' [from $(PACKAGING_DIR)]."; \
- export PACKAGING_DIR=$(PACKAGING_DIR); \
+ @echo "Now processing '$(1)' [from $(TDE_PACKAGING_DIR)]."; \
+ export TDE_PACKAGING_DIR=$(TDE_PACKAGING_DIR); \
if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \
echo " Package '${1}' is not yet installed."; \
if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \