Hello, On penktadienis 11 Gruodis 2009 03:41:44 Jari Aalto wrote: > The debhelper 7 is good and in some ways excessive. To build a simple > package, it churns over all possible commands (see below). > > SUGGESTION > > Please add support for file > > debian/dh_norun > > The file would list those commands that do not need to be run for the > current package. Commands would be listed one at a line. Comments > would be allowed with "#".
IMHO, this would be very confusing. If you want this, do not use dh sequencer at all and list all commands you need in debian/rules (conventional packaging method). If your suggestion is implemented, somebody else looking at the package will have hard time figuring out what commands will actually be run. If you want to skip only a few commands, use .PHONY overrides, e.g. only this line is enough: PHONY: override_dh_auto_test If you want to skip a bunch of sequential commands, you may also use --before / --until / --after. > This would speed up packaging in low end machines. If debhelper program has nothing to do, it will exit fast. Slow down should be minimal. > Of those, for simple package, sometimes only these are needed (target: > binary-arch): > > dh_testdir > dh_testroot > dh_installchangelogs > dh_installdocs > dh_installexamples > dh_link > dh_strip > dh_compress > dh_fixperms > dh_installdeb > dh_shlibdeps > dh_gencontrol > dh_md5sums > dh_builddeb This is exactly what conventional packaging with debhelper is for. Since you want full control over sequence, use this method. -- Modestas Vainius <[email protected]>
signature.asc
Description: This is a digitally signed message part.

