Bug#640874: leave: debian/rules is not a Makefile
On Thu, Sep 08, 2011 at 04:53:01PM +0200, Raphael Hertzog wrote:
> > > And still, this is a Makefile so you can quickly reuse Makefile snippets
> > > that others have been writing to add support for supplementary targets
> > > (like get-orig-source) or even to influence the environment (like the
> > > Makefile snippets that dpkg 1.16.1 is going to provide).
> >
> > Same can work for pretty much any other similar language.
>
> Except that by standardizing on make we avoid to have to duplicate
> those things for multiple languages!
OTOH, if you actually want to that stuff from e.g. a Python debian/rules
file, you should be able to simply run
make -f /usr/share/common/stuff.mk get-orig-source
? :)
--
2. That which causes joy or happiness.
Reply to: