On Fri, Dec 31, 2021 at 12:49:46PM +0600, NRK wrote:
> What would be a posix replacement for `?=` ? I assume something like:
>
> VAR = $$(if test -n "$$VAR"; then printf "%s" "$$VAR"; else printf
> "fallback"; fi)
>
Now that I think about it, posix shell has parameter expansion that
could
On Thu, Dec 30, 2021 at 09:17:32PM +0100, Mattias Andrée wrote:
> I've actually being thinking of writing a makefile linter.
> How interested would people be in such a tool?
>
> The reason to have a linter separate from a make utility itself
> is that it would not have to reject non-standard featu
On Thu, 30 Dec 2021 23:07:35 +0100
Laslo Hunhold wrote:
> On Thu, 30 Dec 2021 21:17:32 +0100
> Mattias Andrée wrote:
>
> Dear Mattias,
>
> > I've actually being thinking of writing a makefile linter.
> > How interested would people be in such a tool?
>
> very interested! Even though, when y
On Thu, 30 Dec 2021 21:17:32 +0100
Mattias Andrée wrote:
Dear Mattias,
> I've actually being thinking of writing a makefile linter.
> How interested would people be in such a tool?
very interested! Even though, when you implement the logic, you might
as well go all the way and offer a make(1) t
Hi,
I found the values in the subject although I remember the mouse
numbers are in range (0, 5> e.g. 1 means left btn, 2 middle and 3
right button. What are these for?!? Thanks
Rene
On Thu, 30 Dec 2021 21:07:06 +0100
Laslo Hunhold wrote:
> On Thu, 30 Dec 2021 17:49:23 +0100
> crae...@gmail.com wrote:
>
> Dear craekz,
>
> > As far as I can see, we could add `.POSIX` to the following programs:
> > dwm, dmenu, dwmstatus, sent and tabbed
> > I've just looked over the Makefiles
On Thu, 30 Dec 2021 17:49:23 +0100
crae...@gmail.com wrote:
Dear craekz,
> As far as I can see, we could add `.POSIX` to the following programs:
> dwm, dmenu, dwmstatus, sent and tabbed
> I've just looked over the Makefiles very briefly, so I may have
> overseen something. Note: I just picked out
>I agree that it shall be added to all Makefile, because
>otherwise the behavior of make is unspecified.
>(Quote from the POSIX specifications)
I'm sure you meant it like that, but just to clarify it:
It is only unspecified if it doesn't appear as the first non-comment line,
has prerequisites or co
I agree that it shall be added to all Makefile, because
“otherwise, the behavior of make is unspecified.”
(Quote from the POSIX specifications)
Probably missing because people don't usually learn
make(1) by reading the entire manual.
.POSIX can be used as long a the makefile does not
use any feat
Hi,
I'm wondering why the Makefiles of some suckless programs (and libs) have the
special target `.POSIX` in them and some don't.
For example, dwm doesn't have it in it's Makefile but there isn't a single
non-POSIX feature used. I think it would be better to include the `.POSIX`
target
simply to
10 matches
Mail list logo