Re: make question

2008-12-22 Thread Dov Grobgeld
, [eps2eps $SOURCE $TARGET]) Regards, Dov 2008/12/18 Oleg Goldshmidt p...@goldshmidt.org Jason Friedman write.to.ja...@gmail.com writes: Hi all, I have had this make question that has been bugging me for a long time. I want to fix some eps files using eps2eps

Re: make question

2008-12-18 Thread Oleg Goldshmidt
Jason Friedman write.to.ja...@gmail.com writes: Hi all, I have had this make question that has been bugging me for a long time. I want to fix some eps files using eps2eps. This is the makefile I use: figure1_fixed.eps: figure1.eps [tab] eps2eps $ $@ (replace [tab] with the tab character

make question

2008-12-17 Thread Jason Friedman
Hi all, I have had this make question that has been bugging me for a long time. I want to fix some eps files using eps2eps. This is the makefile I use: figure1_fixed.eps: figure1.eps [tab] eps2eps $ $@ (replace [tab] with the tab character) This works fine, but when I have many eps files

Re: make question

2008-12-17 Thread Omer Zak
3.81 in Debian Etch). DISCLAIMER: I did not actually check the above, but I use something very similar in my own Makefiles. --- Omer On Wed, 2008-12-17 at 15:21 -0500, Jason Friedman wrote: Hi all, I have had this make question that has been

Re: make question

2008-12-17 Thread Shlomi Fish
On Wednesday 17 December 2008, Jason Friedman wrote: Hi all, I have had this make question that has been bugging me for a long time. I want to fix some eps files using eps2eps. This is the makefile I use: figure1_fixed.eps: figure1.eps [tab] eps2eps $ $@ (replace [tab] with the tab

Re: make question

2008-12-17 Thread Valery Reznic
--- On Wed, 12/17/08, Jason Friedman write.to.ja...@gmail.com wrote: From: Jason Friedman write.to.ja...@gmail.com Subject: make question To: linux-il@cs.huji.ac.il Date: Wednesday, December 17, 2008, 10:21 PM Hi all, I have had this make question that has been bugging me for a long

Re: make question

2008-12-17 Thread Tzafrir Cohen
On Wed, Dec 17, 2008 at 01:44:12PM -0800, Valery Reznic wrote: --- On Wed, 12/17/08, Jason Friedman write.to.ja...@gmail.com wrote: From: Jason Friedman write.to.ja...@gmail.com Subject: make question To: linux-il@cs.huji.ac.il Date: Wednesday, December 17, 2008, 10:21 PM Hi all

Re: make question

2008-12-17 Thread Valery Reznic
Yikes, why would you come to that? Additional to second line || { rm -f $@ ...} ensure that in case of some failure no target file remain. So wrong / incomplete file can't be occassionly used. Here's a similar version that is functionality-equivalent: all: figure1_fixed.eps

Re: Another make question

2001-11-20 Thread Oleg Goldshmidt
Dan Kenigsberg [EMAIL PROTECTED] writes: Is there a makefile variable carrying the name of the current/initial makefile? Not that I know of, but inside your makefile you can do sth like THISFILE := $RCSFile$ or $Source$ or something more cumbersome but equivalent if you are not using

Another make question

2001-11-19 Thread Dan Kenigsberg
Is there a makefile variable carrying the name of the current/initial makefile? I mean something like cat foo.mk all: echo $(MAKEFILE_NAME_FICTITIOUS_VAR) ^D $ make -f foo.mk /home/moshe/foo.mk = To unsubscribe, send