about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2017-12-01 14:37:57 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2017-12-01 15:15:16 +0100
commitef9ecfa63c85ae5bb558933e710bf2b0a8234f13 (patch)
treefea54d7f0dc12bf89510c184c4d9babd86cdf002
parent2a14526bfae3ee4fe34fc39efeea6ee93f25be32 (diff)
downloadglibc-ef9ecfa63c85ae5bb558933e710bf2b0a8234f13.tar.gz
glibc-ef9ecfa63c85ae5bb558933e710bf2b0a8234f13.tar.xz
glibc-ef9ecfa63c85ae5bb558933e710bf2b0a8234f13.zip
intl: create target directory for bison
-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