>>> to add a new language (po file) to my project, i simply edit >>> configure.in and add the language code to 'ALL_LINGUAS', and the po >>> file gets compiled when i 'make'. now, how can i tell 'make' to >>> compile with 'msgfmt -c' -- instead of simply 'msgfmt' -- so that >>> the po file is checked for format errors? (and in a way that my >>> setting doesn't get overwritten next time i do an './autogen.sh'!) > >>I think you could simply edit po/Makefile.in.in and add this option >>at the right place. > > yes, but that one gets overwritten and my change lost when i call > autogen.sh :-/
You're right, autogen.sh calls glib-gettextize with the --force option that will overwrite your changes. It looks like this Makefile don't need to be overwritten in your case. Try if this patch fit your needs. Cheers, Andy --- autogen.sh.orig 2005-09-19 10:46:04.000000000 +0200 +++ autogen.sh 2005-09-19 10:46:38.000000000 +0200 @@ -116,7 +116,7 @@ echo "Creating $dr/aclocal.m4 ..." test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 echo "Running glib-gettextize... Ignore non-fatal messages." - echo "no" | glib-gettextize --force --copy + echo "no" | glib-gettextize --copy echo "Making $dr/aclocal.m4 writable ..." test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 fi _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list