sh -n debian/postinst
sh -n debian/prerm
# install the control files
- $(install_script) debian/control debian/postinst debian/prerm \
- $(prefix)/DEBIAN/
+ $(install_script) debian/postinst debian/prerm $(prefix)/DEBIAN/
+ # be tricky about putting the TOC sections into the description of the package
+ cp debian/control debian/control.out
+ perl -ne '/^\d+\.\s/ && print " $$_";' < developers-reference.txt >> debian/control.out
+ $(install_file) debian/control.out $(prefix)/DEBIAN/control
# compress docdir (policy)
find $(docdir) -type f \( -size +4k -or -iname "change*" \) \