Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How are .Po files created in Makefile?

I have changed Makefile of a project and now when I make it, it returns:-

ERROR: "make[2]: *** No rule to make target ../libvmi/driver/.deps/xen.Po. Stop. "

How does Makefile create .Po files and how can I disable creating it for a certain file like ../libvmi/driver/.deps/xen.c?

like image 841
Peggy Avatar asked Jun 30 '13 05:06

Peggy


1 Answers

.Po files are used as part of automake's dependency tracking. They are usually created by config.status as empty files, which get overwritten by actual dependencies when the compiler is invoked. (automake's approach is to do dependency generation as a side-effect of compilation.)

I've found that running make -k (-k is short for --keep-going) will be enough to unstick the build, once the file whose .Po is missing has been recompiled.

like image 94
Jack Kelly Avatar answered Oct 04 '22 21:10

Jack Kelly