bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [PATCH] Fix pluralx.c makefile dependencies


From: Václav Slavík
Subject: [bug-gettext] [PATCH] Fix pluralx.c makefile dependencies
Date: Sat, 3 Jan 2015 18:41:34 +0100

plural(x).c depends on libintl.h if ENABLE_NLS, but the makefile didn't
have corresponding dependency for pluralx.c, because d2d04ba forgot to
add it. Fix by using $(PLURAL_OBJECT) for the dependency rule too.
---
 gettext-runtime/intl/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettext-runtime/intl/Makefile.in b/gettext-runtime/intl/Makefile.in
index 2acfb2e..d669417 100644
--- a/gettext-runtime/intl/Makefile.in
+++ b/gettext-runtime/intl/Makefile.in
@@ -605,7 +605,7 @@ printf.$lo: $(srcdir)/printf-args.h $(srcdir)/printf-args.c 
$(srcdir)/printf-par
 # A bison-2.1 generated plural.c includes <libintl.h> if ENABLE_NLS.
 PLURAL_DEPS_yes = libintl.h
 PLURAL_DEPS_no =
-plural.$lo: $(address@hidden@)
+$(PLURAL_OBJECT): $(address@hidden@)
 
 tags: TAGS
 
-- 
2.2.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]