#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -include /usr/share/dpkg/buildtools.mk PKG_CONFIG ?= pkg-config MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale HAVE_IMAGEMAGICK=1 CXXFLAGS += $(shell $(PKG_CONFIG) vdr --variable=cxxflags) %: dh $@ --with vdrplugin override_dh_auto_build: dh_auto_build -- all $(MAKE_OPTIONS) override_dh_auto_clean: $(MAKE) -o .dependencies clean $(MAKE_OPTIONS) rm -rf locale libvdr-*.so.* get-vcs-snapshot: sh debian/get-vcs-snapshot.sh