#!/usr/bin/make -f
# -*- makefile -*-
DH_VERBOSE = 1
export SHELL = /bin/bash
export HOME=$(CURDIR)/build
buildroot := $(CURDIR)/debian/tmp
OS_NAME := $(shell cat /etc/os-release | grep '^ID=' | cut -d'=' -f2 | sed -e 's@"@@g')
OS_VER  := $(shell cat /etc/os-release | grep '^VERSION_ID=' | cut -d'=' -f2 | sed -e 's@"@@g')
GPG_KEY_URL := https://repo.tuxcare.com/tuxcare/RPM-GPG-KEY-TuxCare
_prefix  		:= /usr
_sysconfdir  	:= /etc

%:
	dh $@

override_dh_auto_build:
	mkdir -p keyrings
	wget -q -O- $(GPG_KEY_URL) | gpg --dearmor -o keyrings/tuxcare-php-keyring.gpg || (echo "Failed to add GPG key." && exit 7)

override_dh_auto_clean:
