[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh 7 broken by design?

* Helmut Grohne <helmut@subdivi.de> [090217 21:18]:
> So will the new minimal example look like the following then?
> #/usr/bin/make -Bf
> %:
> 	dh $@

Note that there is also the possibility of

#/usr/bin/make -f
%: Makefile
        dh $@

which is another way to make things phony. (and avoids dh being called
for the "Makefile" target as it is when naming that target FORCE as
make's info file suggest).

But I definitly think a debian/rules file should list all the required
and optional rules it supports via a .PHONY: line.

Even better the % rule should already list which targets it actually
supports as

#include "/usr/share/debhelper/....bla"
                dh $@

everything else is just very fragile...

	Bernhard R. Link

Reply to: