gplugin/gplugin

Parents 5f50efe6ee81
Children 5d832d3f9ff9
Update the debian packaging to build debs in a specific output directory
--- a/convey.yml Mon Dec 03 23:31:50 2018 -0600
+++ b/convey.yml Tue Dec 04 22:49:29 2018 -0600
@@ -14,6 +14,8 @@
- fedora-29-amd64
- opensuse-tumbleweed-amd64
- scanbuild
+ - ubuntu-xenial-amd64
+ - ubuntu-bionic-amd64
import:
type: docker/import
--- a/packaging/debian/rules Mon Dec 03 23:31:50 2018 -0600
+++ b/packaging/debian/rules Tue Dec 04 22:49:29 2018 -0600
@@ -3,6 +3,8 @@
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export ARTIFACTS_DIR ?= ..
+
BUILD_DIR := debian/build
%:
@@ -23,3 +25,9 @@
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp ninja -v -C $(BUILD_DIR) install
+
+override_dh_builddeb:
+ # copy the dsc and the tar file to the uploads dir
+ cp ../*.dsc ../*.tar.* $(ARTIFACTS_DIR)
+ dh_builddeb $@ --destdir=$(ARTIFACTS_DIR)
+