#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk # Upstream Makefile uses CFLAGS instead of CXXFLAGS and ignores CPPFLAGS. CFLAGS = $(CXXFLAGS) $(CPPFLAGS) CFLAGS_FOR_BUILD = $(CXXFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) # When running under reprotest, there is a BUILD_DIR variable defined # somewhere, force BUILD_DIR value. export BUILD_DIR = build %: dh $@ override_dh_auto_build: dh_auto_build -- exec override_dh_auto_install: dh_auto_install -- prefix=/usr # Do not install original archive. rm -r debian/nqc/usr/share/doc/nqc/_original rm debian/nqc/usr/share/doc/nqc/*/*-original.html # Do not install large picture. rm debian/nqc/usr/share/doc/nqc/examples/Omni/*.jpg override_dh_installexamples: dh_installexamples