#!/usr/bin/make -f include /usr/share/quilt/quilt.make config.status: configure dh_testdir CPPFLAGS="$(shell export DEB_BUILD_MAINT_OPTIONS=hardening=+all; dpkg-buildflags --get CPPFLAGS)" \ CFLAGS="$(shell export DEB_BUILD_MAINT_OPTIONS=hardening=+all; dpkg-buildflags --get CFLAGS) -Wall" \ LDFLAGS="$(shell export DEB_BUILD_MAINT_OPTIONS=hardening=+all; dpkg-buildflags --get LDFLAGS)" \ ./configure \ --host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) \ --build=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch build-stamp binary: binary-arch binary-indep binary-arch: build install binary-indep: build install install: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/imwheel dh_install dh_installdocs dh_installchangelogs ChangeLog dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb clean: dh_testdir dh_testroot rm -f build-stamp rm -f mdetect/Makefile [ ! -f Makefile ] || $(MAKE) distclean dh_clean # This is for the package maintainer's convenience only buildprep: clean dh_testdir dh_testroot dh_quilt_patch ln -s /usr/share/automake-1.14/compile compile autoreconf rm -rf autom4te.cache -rm -f config.h.in~ rm compile dh_quilt_unpatch -rm -f debian/imwheel.debhelper.log .PHONY: build build-indep build-arch binary binary-arch binary-indep install clean buildprep