aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--intl/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 091e25afb1..6f793c74b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-17 Roland McGrath <roland@hack.frob.com>
+
+ * intl/Makefile ($(codeset_mo)): Depend on the input file.
+
2012-08-17 Jeff Law <law@redhat.com>
* intl/Makefile (codeset_mo): New variable.
diff --git a/intl/Makefile b/intl/Makefile
index d63ffe4fc0..d3ea4cb8cd 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -66,9 +66,9 @@ endif
# spurious test failures.
codeset_mo = $(objpfx)domaindir/de_DE/LC_MESSAGES/codeset.mo
-$(codeset_mo):
+$(codeset_mo): tstcodeset.po
$(make-target-directory)
- msgfmt -o $@T tstcodeset.po
+ msgfmt -o $@T $<
mv -f $@T $@
$(objpfx)mtrace-tst-gettext: $(objpfx)tst-gettext.out