#!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/makefile.mk DEB_MAKE_INSTALL_TARGET := install PREFIX=$(CURDIR)/debian/flashrom/usr # Reduce the number of unneeded dependencies with --as-needed. LDFLAGS += "-Wl,--as-needed" export DEB_BUILD_MAINT_OPTIONS = hardening=+all post-patches:: @# Copy udev rules file into debian/ so that dh_installudev finds it. cp util/z60_flashrom.rules debian/flashrom.udev clean:: rm -f .dependencies .features .libdeps rm -f debian/flashrom.udev common-binary-post-install-arch:: list-missing