LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Make distcheck breaks, seems not getting my po/POTFILES.in (https://www.linuxquestions.org/questions/linux-general-1/make-distcheck-breaks-seems-not-getting-my-po-potfiles-in-759475/)

gtglus 10-03-2009 05:06 PM

Make distcheck breaks, seems not getting my po/POTFILES.in
 
Hello,

I'm so new working with the autotools. I made,

In the top-directory Makefile.am

Quote:

SUBDIRS = data src po
In my po/LINGUAS, I put

Quote:

de
es
In my po/POTFILES.in, I wrote

Quote:

src/PrA.cc
src/PrB.cc
And Make distcheck breaks...

Quote:

Making check in po
make[2]: Entering directory `/home/****/****/****/****/_build/po'
INTLTOOL_EXTRACT=/usr/bin/intltool-extract srcdir=../../po /usr/bin/intltool-update --gettext-package p**** --pot
rm -f missing notexist
srcdir=../../po /usr/bin/intltool-update -m
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.

src/PrA.cc
src/PrB.cc

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.
Please report to *********************
if [ -r missing -o -r notexist ]; then \
exit 1; \
fi
make[2]: *** [check] Error 1
make[2]: Leaving directory `/home/****/****/****/****/_build/po'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/****/****/****/****/_build'
make: *** [distcheck] Error 1
Any idea ?

Glus

gtglus 10-05-2009 05:32 AM

Hello guys,

If ever you make a project using intltool libraries, don't forget to put something like this

Quote:

INTLTOOL_FILES = intltool-extract.in \
intltool-merge.in \
intltool-update.in

DISTCLEANFILES = intltool-extract \
intltool-merge \
intltool-update \
po/.intltool-merge-cache

EXTRA_DIST = AUTHORS ChangeLog INSTALL NEWS README \
$(INTLTOOL_FILES)
Into your top-level Makefile.am... Never !!!

Thanks, ;)

Glus.


All times are GMT -5. The time now is 10:27 AM.