Weblog entry #31 for dkg
The most-minimized debian/rules possible with it is just (from dh(1)):
#!/usr/bin/make -f %: dh $@And all of the project-specific interesting bits go into nice, clean, well-named files under debian/.
However, lintian (at least as of 1.23.48) complains loudly about the minimized debian/rules:
E: xdotool source: debian-rules-missing-required-target binary E: xdotool source: debian-rules-missing-required-target binary-arch E: xdotool source: debian-rules-missing-required-target binary-indep E: xdotool source: debian-rules-missing-required-target build E: xdotool source: debian-rules-missing-required-target cleanI'm not sure the right way to proceed: should i try to manually add overrides for each package that uses a minimized debian/rules? Should lintian recognize debhelper-specific minimized rules files and accept them? Should debhelper assuage lintian somehow? Or is this rules file minimization actually not as good an idea as I think it is?
I notice that mr, which is Joey Hess's first example package using the minimized rules also reports the same errors.
Comments on this Entry
make -s -n $target 2>/dev/null
If make exists with 0 the target it there, otherwise it isn't.
-- Florian Ragwitz <rafl@debian.org>
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Send Message | View dkg's Scratchpad | View Weblogs ]
Thanks for the pointer, Joey.
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]