|
Home > Archive > Unix Programming > January 2005 > No rule to make target
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
No rule to make target
|
|
| Ashish_Agarwal@cal.berkeley.edu 2005-01-25, 8:47 pm |
| I'm getting the following error when executing make:
> make: *** No rule to make target "References.bib", needed by
"paper.bbl"
My makefile is being used to generate pdf files from papers written in
Latex. References.bib is written by hand, so it should only be seen as
a dependency, not a file that needs to be generated. The relevant rule
in my makefile is:
paper.bbl: paper.aux References.bib
bibtex paper
Isn't this identical to having *.o files dependent on *.cpp files?
Obviously *.cpp files don't have to be generated by make, because those
are the files you wrote for your program.
I would appreciate any help. Thank you.
| |
| David Schwartz 2005-01-26, 2:48 am |
|
<Ashish_Agarwal@cal.berkeley.edu> wrote in message
news:1106702836.810267.4760@c13g2000cwb.googlegroups.com...
> I'm getting the following error when executing make:
>
> "paper.bbl"
This means 'make' can't find References.bib.
> My makefile is being used to generate pdf files from papers written in
> Latex. References.bib is written by hand, so it should only be seen as
> a dependency, not a file that needs to be generated. The relevant rule
> in my makefile is:
>
> paper.bbl: paper.aux References.bib
> bibtex paper
Well, is References.bib there?
> Isn't this identical to having *.o files dependent on *.cpp files?
Yes. And if a cpp file were missing, you'd get the same error.
> Obviously *.cpp files don't have to be generated by make, because those
> are the files you wrote for your program.
> I would appreciate any help. Thank you.
HTH.
DS
| |
| Ashish_Agarwal@cal.berkeley.edu 2005-01-26, 2:48 am |
| I posted too soon. Sorry, I figured out the problem. The References.bib
was simply not in the location stated. Thus, make didn't know it
existed and was trying to generate it. Sorry again.
|
|
|
|
|