Re: Makefile to Makefile.am

2010-08-15 Thread Ralf Wildenhues
Hello, * Paul Smith wrote on Mon, Aug 16, 2010 at 04:33:46AM CEST: > On Sun, 2010-08-15 at 23:32 +0200, Ralf Wildenhues wrote: > > > # old fashioned suffix rule, portable > > > .xcf.bmp: > > > $(GIMP) -i -b '(xcf-bmp "$<" "$@")' -b '(gimp-quit 0)' > > > > > > Hey, maybe Automake hac

Re: Makefile to Makefile.am

2010-08-15 Thread Paul Smith
On Sun, 2010-08-15 at 23:32 +0200, Ralf Wildenhues wrote: > > # old fashioned suffix rule, portable > > .xcf.bmp: > > $(GIMP) -i -b '(xcf-bmp "$<" "$@")' -b '(gimp-quit 0)' > > > > Hey, maybe Automake hackers can riff off this thread in time for > > the next release... (or, "Would yo

Re: Makefile to Makefile.am

2010-08-15 Thread Thien-Thi Nguyen
() Ralf Wildenhues () Sun, 15 Aug 2010 23:32:44 +0200 Yes, with a general example, please. I am unsure what "general example" means, precisely, so the patch below simply uses the one in The GNU Make Manual. Is that ok? _ >From 7b70f8b27057c

Re: Makefile to Makefile.am

2010-08-15 Thread Ralf Wildenhues
* Thien-Thi Nguyen wrote on Sun, Aug 15, 2010 at 07:02:21PM CEST: > Probably Automake manual (and its readers) > could benefit from changing the mysterious: > > We do not discuss pattern rules here because they are not > portable, but they can be convenient in packages that assume GNU > `mak

Re: Makefile to Makefile.am

2010-08-15 Thread Thien-Thi Nguyen
() "samson.pierre" () Sun, 15 Aug 2010 03:09:50 +0200 (CEST) > > %.bmp: %.xcf > > $(GIMP) -i -b '(xcf-bmp "$<" "$@")' -b '(gimp-quit 0)' Is there an equivalent or anything else which can help me to write this rule avoiding this warning message? I think here you can use something lik

Re: Makefile to Makefile.am

2010-08-15 Thread John Calcote
On 8/14/2010 7:09 PM, samson.pierre wrote: > > Yes it works :-) > > But I see a little warning when I call autoreconf : > `%'-style pattern rules are a GNU make extension > > I think it is because I use this character ‘%’ in my rules. But this ‘%’ is > very interesting to define an implicit rules