Markus Wanner schrieb:
> On 05/03/2014 01:39 AM, Thomas Keller wrote:
>>   make[2]: Circular po/sv.gmo <- po/sv.gmo dependency dropped.
>>
>>   I guess this is because of Makefile.am's
>>
>>   po/%.gmo: $(srcdir)/po/%.gmo
>>         cp $< $@
>>
>>   which looks a bit fishy indeed.
> 
> This starts to look a lot less fishy once you take VPATH builds into
> account. Without it `make all` fails if $(srcdir) != $(builddir) with:
> 
>   *** No rule to make target `po/sv.gmo', needed by `all-nls'.  Stop.
> 
> And if $(srcdir) == $(builddir), dropping the dependency is just the
> right thing to do.

Well, I haven't told you all of the story. This is the rest of the
output in case srcdir == builddir, it fails the build!

make[2]: Circular po/sv.gmo <- po/sv.gmo dependency dropped.
cp  po/sv.gmo
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
target_directory
make[2]: *** [po/sv.gmo] Error 64
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thomas.

-- 
GPG-Key 0x160D1092 | tommyd3...@jabber.ccc.de | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to