[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make portability issue
From: |
Ralf Wildenhues |
Subject: |
Re: make portability issue |
Date: |
Tue, 13 Feb 2007 22:47:00 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello Guillaume,
* Guillaume Rousse wrote on Mon, Feb 12, 2007 at 11:29:05AM CET:
>
> Still on the portability issue, I have some doubts about the following
> hack, to create an output file of the same type as the input one:
>
> SUFFIXES = .png .small.png
>
> .png.small.png:
> convert -geometry $(SMALL_WIDTH)x$(SMALL_HEIGHT) $< $@
>
> I didn't found any failure yet, but I'm not 100% sure it will work
> everywhere.
This isn't required by POSIX; more specifically, POSIX only defines
inference rules with suffixes that start with a period but do not
contain any other period.
On the practical side, I haven't come across a make implementation that
fails the above.
Cheers,
Ralf