summaryrefslogtreecommitdiffstats
path: root/redhat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/Makefile')
-rw-r--r--redhat/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/Makefile b/redhat/Makefile
index 44f810ea7..a409f5bfe 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -3,6 +3,7 @@ PATH := $(PATH):$(shell pwd)/build
TDE_VERSION := $(shell echo $${TDE_VERSION:-14.0.7})
TDE_GIT_DIR := $(shell cd ../../tde; pwd)
TDE_PACKAGING_DIR := $(shell [ -n "$${TDE_PACKAGING_DIR}" ] && cd "$${TDE_PACKAGING_DIR}" || cd ..; pwd)
+RPMDIR := "$(shell rpm -E %{_rpmdir}.tde-$(TDE_VERSION))"
DIST := $(shell rpm -E %dist)
buildpkg = \
@@ -629,3 +630,8 @@ git:
tarballs:
cd "$(TDE_GIT_DIR)" && COMPRESS=pigz SUFFIX=0 ./scripts/create_all_tarballs
+
+
+# External packages
+external:
+ [ -d "${HOME}/rpmbuild/RPMS" ] && cp -rfv "${HOME}/rpmbuild/RPMS/"* "$(RPMDIR)"