yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

JPG file in ~/texmf/tex/latex considered missing #127

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running 2.2.0, and getting errors of the form

  make: *** No rule to make target `foo.jpg', needed by `document.d'.  Stop.

This is annoying because foo.jpg is in my ~/texmf/tex/latex directory.

Hackish workaround:

realfoo := $(shell kpsewhich foo.jpg)

foo.jpg: $(realfoo)
     cp $< $@

This generates subsequent complaints about a circular dependency because 
kpsewhich finds the local version. 

Original issue reported on code.google.com by michael....@gmail.com on 3 May 2011 at 12:04

GoogleCodeExporter commented 9 years ago
Sorry I'm slow to respond to this issue.  Work intervened (it happens).

So, the way I see it, we have a couple of problems, here.  First is that 
calling kspewhich on every file is probably not the best use of CPU and IO.  
But that's not what bothers me most about this.  What I'm most concerned about 
is the fact that the makefile is treating this as a missing file in the first 
place....

For some reason, my texmf directory is not working properly on my system 
(kpsewhich is ignoring things, even after running texhash - I may be missing a 
manifest somewhere, but I can't remember at the moment how to get that working 
properly).  Would you mind sending me your .fls and .log files for minimal 
example of this issue?  I am hoping that I can infer from the logs that this 
particular graphic is not something we need to try to build.

Original comment by shiblon on 9 May 2011 at 8:25