#!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) %: dh $@ --with autoreconf ifeq ($(DEB_HOST_ARCH_OS), linux) confflags += --enable-imptcp endif override_dh_auto_configure: dh_auto_configure -- \ $(confflags) \ --enable-mysql \ --enable-pgsql \ --enable-ommongodb \ --enable-mail \ --enable-imfile \ --enable-impstats \ --enable-kmsg \ --enable-klog \ --enable-gssapi-krb5 \ --enable-gnutls \ --enable-relp \ --enable-pmaixforwardedfrom \ --enable-pmcisconames \ --enable-pmlastmsg \ --enable-pmrfc3164sd \ --enable-pmsnare \ --enable-omprog \ --enable-omuxsock \ --enable-mmanon \ --enable-mmnormalize \ --enable-mmjsonparse \ --disable-testbench \ --with-systemdsystemunitdir=/lib/systemd/system override_dh_auto_install: dh_auto_install install --mode=644 -D plugins/ommysql/createDB.sql debian/rsyslog-mysql/usr/share/dbconfig-common/data/rsyslog-mysql/install/mysql install --mode=644 -D plugins/ompgsql/createDB.sql debian/rsyslog-pgsql/usr/share/dbconfig-common/data/rsyslog-pgsql/install/pgsql override_dh_install: dh_install -X .la --list-missing override_dh_compress: dh_compress -X rsyslog-example.conf override_dh_installinit: dh_installinit -R