#!/usr/bin/make -f

# Enable lua
export LUA := 1
export LUA_CPPFLAGS_CONFIG := $(shell pkg-config lua5.2 --cflags)
export LUA_LIBS_CONFIG := $(shell pkg-config lua5.2 --libs)

# Use new build system
%:
	dh $@ --parallel

override_dh_auto_install:
	dh_auto_install -- STRIP_BINARIES=0

override_dh_strip:
	dh_strip --dbg-package=pdns-recursor-dbg

override_dh_installinit:
	dh_installinit --error-handler=initscript_error -- defaults 19 85

