Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #60602
| From | Riku Voipio <riku.voipio@linaro.org> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build |
| Date | 2018-03-29 10:00 +0200 |
| Message-ID | <vyADv-6c4-1@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <vxX97-4Qw-3@gated-at.bofh.it> <vxX97-4Qw-1@gated-at.bofh.it> <vxZ1f-66E-5@gated-at.bofh.it> <vyfpn-1dK-9@gated-at.bofh.it> <vytC1-1LO-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 29 March 2018 at 03:20, Ben Hutchings <ben@decadent.org.uk> wrote: > On Wed, 2018-03-28 at 11:58 +0300, Riku Voipio wrote: > [...] >> One option: >> >> +++ b/scripts/package/mkdebian >> cat <<EOF > debian/rules >> -#!/usr/bin/make -f >> #!$(which $MAKE) -f > [..] > > Shebang lines are interpreted by the kernel, not by a shell. So you > can't do anything clever like that. Look more closely ;) Shell expands the variables into the herefile. So if make is picked from a nonstandard location, the debian/rules shebang becomes #!/home/masahiro/bin/make -f As I said the price of this hack is that if use make from non-standard location, the source package won't build anywhere else. Then again, you probably shouldn't use non-standard tools when building source packages for others to consume. Riku
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4] scripts/package/builddeb: split generating packaging and build riku.voipio@linaro.org - 2018-02-21 11:30 +0100
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Masahiro Yamada <yamada.masahiro@socionext.com> - 2018-03-27 11:40 +0200
Fwd: [PATCH v4] scripts/package/builddeb: split generating packaging and build Riku Voipio <riku.voipio@linaro.org> - 2018-03-27 15:50 +0200
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Masahiro Yamada <yamada.masahiro@socionext.com> - 2018-03-27 17:50 +0200
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Riku Voipio <riku.voipio@linaro.org> - 2018-03-28 11:20 +0200
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Ben Hutchings <ben@decadent.org.uk> - 2018-03-29 02:30 +0200
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Riku Voipio <riku.voipio@linaro.org> - 2018-03-29 10:00 +0200
Re: [PATCH v4] scripts/package/builddeb: split generating packaging and build Masahiro Yamada <yamada.masahiro@socionext.com> - 2018-04-05 07:00 +0200
csiph-web