[Pkg-voip-commits] [bctoolbox] 01/10: debian/rules: no need to add duplicate rule for "build"

Daniel Gnoutcheff gnoutchd at autistici.org
Tue Apr 25 03:08:00 UTC 2017


> diff --git a/debian/rules b/debian/rules
> index 3bb42cf..6d88d1b 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -6,8 +6,6 @@
>  # As of version 0.4.0, upstream has a directory named "build" in its tree.
>  # Without .PHONY, this confuses make.
>  .PHONY: build
> -build:
> -	dh $@

Without an explicit rule for "build", the .PHONY doesn't seem to work:

> gnoutchd at monsey:~/debian/pkg-voip/bctoolbox/bctoolbox$ ls -dF build
> build/
> gnoutchd at monsey:~/debian/pkg-voip/bctoolbox/bctoolbox$ touch build
> gnoutchd at monsey:~/debian/pkg-voip/bctoolbox/bctoolbox$ ./debian/rules build
> make: Nothing to be done for 'build'.
> gnoutchd at monsey:~/debian/pkg-voip/bctoolbox/bctoolbox$ 

HTH,
Daniel

P.S. thanks again for all your work on this!  It would've taken me
months and months to do all this, you rock!



More information about the Pkg-voip-maintainers mailing list