build: build-arch build-indep
+# If we are building zfs update the provides.
+rprovides=
+ifeq ($(do_zfs),true)
+rprovides:=$(rprovides), spl-dkms, zfs-dkms
+endif
+
clean: debian/control
dh_testdir
dh_testroot
-e 's/ABINUM/$(abinum)/g' \
-e 's/SRCPKGNAME/$(src_pkg_name)/g' \
-e 's/=HUMAN=/$(human_arch)/g' \
+ -e 's/=RPROVIDES=/$(rprovides)/g' \
> $$new; \
done
flavours="$(sort $(wildcard $(DEBIAN)/control.d/vars.* $(DEBIAN)/sub-flavours/*.vars))";\
-e 's/ABINUM/$(abinum)/g' \
-e 's/SRCPKGNAME/$(src_pkg_name)/g' \
-e 's/=HUMAN=/$(human_arch)/g' \
+ -e 's/=RPROVIDES=/$(rprovides)/g' \
>> $(DEBIAN)/control.stub; \
done