automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make portability issue


From: Guillaume Rousse
Subject: Re: make portability issue
Date: Mon, 12 Feb 2007 11:29:05 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070105)

Ralf Wildenhues wrote:
> I think POSIX requires the part between `:' and `=' to be nonempty, but
> not the part after `='.  So write
> 
> A = foo.h
> LIST = $(A) $(B)
> LIST_H = $(LIST:.h=)
> 
> Hope that helps.
It works, thanks.

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]