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

Daniel Gnoutcheff daniel at gnoutcheff.name
Tue Apr 25 03:12:10 UTC 2017


[Retrying with corrected From:, so sorry for noise.]

> 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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 520 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20170424/fc2b0655/attachment.sig>


More information about the Pkg-voip-maintainers mailing list