From: Daiki Ueno Date: Fri, 6 Mar 2015 02:32:23 +0000 (+0900) Subject: hello-c-gnome3: Improve comment in Makefile.am X-Git-Tag: v0.19.5~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1382ab8436e83fea205511e9896360eb5d0a4bb7;p=thirdparty%2Fgettext.git hello-c-gnome3: Improve comment in Makefile.am * hello-c-gnome3/Makefile.am: Suggest hello.desktop.in should be included in EXTRA_DIST. --- diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 3f259335a..ce8a28471 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,8 @@ +2015-03-06 Daiki Ueno + + * hello-c-gnome3/Makefile.am: Suggest hello.desktop.in should be + included in EXTRA_DIST. + 2015-02-02 Matthias Clasen * hello-c-gnome3/configure.ac: Require gettext 0.19, for GSettings diff --git a/gettext-tools/examples/hello-c-gnome3/Makefile.am b/gettext-tools/examples/hello-c-gnome3/Makefile.am index 5164c0989..a8f7f815d 100644 --- a/gettext-tools/examples/hello-c-gnome3/Makefile.am +++ b/gettext-tools/examples/hello-c-gnome3/Makefile.am @@ -36,10 +36,14 @@ resources.c: hello.gresource.xml hello.ui $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $< --target=$@ \ --sourcedir=$(srcdir) --generate-source -# Merge translations into a Desktop Entry file. desktopdir = $(datadir)/applications desktop_DATA = hello.desktop +# Merge translations back into a Desktop Entry file. + +# Note that the resulting file should be included in EXTRA_DIST and +# processed earlier than the variable substitution below. Otherwise, +# the 'msgfmt' command will be required at compile-time. hello.desktop.in: hello.desktop.in.in $(AM_V_GEN) $(MSGFMT) --desktop --template $< -o $@-t \ -d $(top_srcdir)/po && mv $@-t $@