about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--intl/Makefile1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 50b83a37f5..95f4f0356e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-12-01  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
+
 2017-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/sparc/sparc64/cpu_relax.c: New file.
diff --git a/intl/Makefile b/intl/Makefile
index 2deb6ef25e..4ab9e5cd63 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -42,6 +42,7 @@ generated += msgs.h mtrace-tst-gettext.out tst-gettext.mtrace plural.c
 generated-dirs += domaindir localedir
 
 $(objpfx)plural.c: plural.y
+	$(make-target-directory)
 	$(BISON) $(BISONFLAGS) $@ $^
 
 $(objpfx)plural.o: $(objpfx)plural.c