[xiphos-devel] "make clean" removes po/*.po

Greg Hellings greg.hellings at gmail.com
Fri Sep 11 09:40:46 EDT 2020


Interesting - CMake thinks that this is a generated file. If it is
generated then "make clean" should properly clean it out. But it's also
trying to open "ar.po" in order to clean "ar.po". Which doesn't make much
sense.

I don't know how .po files work. Are they generated?

--Greg

On Fri, Sep 11, 2020 at 8:25 AM Karl Kleinpaste <karl at kleinpaste.org> wrote:

> cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_INSTALL_PREFIX=/usr
> -DLIBDIR=/usr/lib64 -DGTKHTML=ON -DDEBUG=ON
> -DCMAKE_BUILD_TYPE=RelWithDebInfo ../xiphos
> [ build dir is populated ]
>
> ls po
> [ *.po are present ]
>
> make clean
> ls po
> [ *.po are gone ]
>
> make
> ...
> [ 63%] Generating ar.po
> /usr/bin/msgmerge: error while opening
> "/home/karl/src/bible/xbuild/po/ar.po" for reading: No such file or
> directory
> make[2]: *** [po/CMakeFiles/potfiles_1.dir/build.make:272: po/ar.po] Error
> 1
> make[1]: *** [CMakeFiles/Makefile2:875: po/CMakeFiles/potfiles_1.dir/all]
> Error 2
> make: *** [Makefile:172: all] Error 2
>
> Thoughts? It seems to me that make clean should not be vacuuming out *.po.
> _______________________________________________
> xiphos-devel mailing list
> xiphos-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/xiphos-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/xiphos-devel/attachments/20200911/ca910be5/attachment.html>


More information about the xiphos-devel mailing list