make calls intltool-merge without argument
Submitted by Pacho Ramos
Assigned to Lennart Poettering
Description
When running make I get the following message:
INTLTOOL_MAKEFILE
Making all in stereo
make[1]: Entering directory /home/pacho/sound-theme-freedesktop-0.7/stereo' make[1]: Nothing to be done for
all'.
make[1]: Leaving directory /home/pacho/sound-theme-freedesktop-0.7/stereo' Making all in po make[1]: Entering directory
/home/pacho/sound-theme-freedesktop-0.7/po'
make[1]: Nothing to be done for all'. make[1]: Leaving directory
/home/pacho/sound-theme-freedesktop-0.7/po'
make[1]: Entering directory `/home/pacho/sound-theme-freedesktop-0.7'
/usr/bin/intltool-merge ; /usr/bin/intltool-merge ./po index.theme.in index.theme -d -u -c ./po/.intltool-merge-cache
Usage: intltool-merge [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE
Generates an output file that includes some localized attributes from an
untranslated source file.
Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style --quoted-style includes translations in the quoted string style --quotedxml-style includes translations in the quoted xml string style -x, --xml-style includes translations in the standard xml style
Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually $top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit
Report bugs to http://bugs.launchpad.net/intltool Generating and caching the translation database Merging translations into index.theme. make[1]: Leaving directory `/home/pacho/sound-theme-freedesktop-0.7'
The problem is caused by this line in Makefile.am:
%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
Looks like $(wildcard $(top_srcdir)/po/*.po) ends returning nothing, causing the warning :S