+2015-03-06 Daiki Ueno <ueno@gnu.org>
+
+ * hello-c-gnome3/Makefile.am: Suggest hello.desktop.in should be
+ included in EXTRA_DIST.
+
2015-02-02 Matthias Clasen <mclasen@redhat.com>
* hello-c-gnome3/configure.ac: Require gettext 0.19, for GSettings
$(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 $@