Re: Patch rule in debian/rules.
On Fri, Sep 19, 2008 at 01:41:13PM +0900, Charles Plessy wrote:
> here is a mail explaining that many of our debian/rules files are
> suboptimal. I will update our group policy and apply changes where
> necessary. But do not hesitate to do it before I start ;)
> QUILT_STAMPFN = quilt-stamp
>
> $(QUILT_STAMPFN):
> touch $@
>
> patch: $(QUILT_STAMPFN)
>
> build: build-stamp
> build-stamp: $(QUILT_STAMPFN)
Personally, I'd rather keep implementation details like quilt out of
debian/rules target names, and call that stampfile build-stamp is
depending upon "patch-stamp" rather than "quilt-stamp" (via
$(QUILT_STAMPFN)).
Michael
Reply to: