about summary refs log tree commit diff
path: root/intl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'intl/Makefile')
-rw-r--r--intl/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/intl/Makefile b/intl/Makefile
index c8bec9b138..2deb6ef25e 100644
--- a/intl/Makefile
+++ b/intl/Makefile
@@ -38,14 +38,13 @@ before-compile += $(objpfx)msgs.h
 
 install-others = $(inst_localedir)/locale.alias
 
-generated += msgs.h mtrace-tst-gettext.out tst-gettext.mtrace
+generated += msgs.h mtrace-tst-gettext.out tst-gettext.mtrace plural.c
 generated-dirs += domaindir localedir
 
-ifneq (no,$(BISON))
-plural.c: plural.y
+$(objpfx)plural.c: plural.y
 	$(BISON) $(BISONFLAGS) $@ $^
-endif
-$(objpfx)plural.o: plural.c
+
+$(objpfx)plural.o: $(objpfx)plural.c
 
 ifeq ($(run-built-tests),yes)
 ifeq (yes,$(build-shared))