[2014-01-13 16:05] Joey Hess <jo...@debian.org>
>
> part 1     text/plain                 702
> Andrew Shadura wrote:
> > I propose a patch to relax requirements to the make output. Currently,
> > when the target doesn't exist, makefile.pm expects string like:
> > 
> > make: *** No rule to make target 'clean'.  Stop.
> > 
> > However, if the Makefile includes autogenerated parts (as it is the case
> > with Jonathan Schleifer's buildsys.mk), make responds differently:
> > 
> > Makefile:4: buildsys.mk: No such file or directory
> > make: *** No rule to make target 'buildsys.mk'.  Stop.
> 
> Please see bug #718121.
> 
> The best way to fix this would be to fix make to have a way to enumerate
> available targets.

Probably, I am late and everybody already knows it, but

        make -f debian/rules -rp|grep -E ':$'|grep -v '^#'

does exactly that.

Reply via email to