]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
hello-c-gnome3: Improve comment in Makefile.am
authorDaiki Ueno <ueno@gnu.org>
Fri, 6 Mar 2015 02:32:23 +0000 (11:32 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 6 Mar 2015 02:32:51 +0000 (11:32 +0900)
* hello-c-gnome3/Makefile.am: Suggest hello.desktop.in should be
included in EXTRA_DIST.

gettext-tools/examples/ChangeLog
gettext-tools/examples/hello-c-gnome3/Makefile.am

index 3f259335a4d7df9196ebd3456e6c195cafb952ea..ce8a28471e32340d494619c7eb10597222d35dbe 100644 (file)
@@ -1,3 +1,8 @@
+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
index 5164c0989acaf1be89f9102ff59b8d67dd2b2017..a8f7f815dac4871b6bd7c17d9d5267c171836a28 100644 (file)
@@ -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 $@