--- a/debian/rules +++ b/debian/rules @@ -266,20 +266,21 @@ binary-common: dh_strip dh_compress dh_fixperms - chmod 600 $(CURDIR)/debian/iscsitarget/etc/iet/ietd.conf dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums - dh_builddeb # Build architecture independant packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + dh_builddeb -i # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + chmod 600 $(CURDIR)/debian/iscsitarget/etc/iet/ietd.conf + dh_builddeb -a binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch get-orig-source