Hello,

The patch uses the $* GNU make variable instead of shell parameter
expansion to find the language code.

-- 
Jean-Sébastien Pédron
From fed4ca6ef4134dfc34a6e25e5b8de3ef905d2efa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <[email protected]>
Date: Wed, 5 Jun 2013 13:45:29 +0200
Subject: [PATCH 6/9] Fix parsing of language code when making options.mo

---
 src/mesa/drivers/dri/common/xmlpool/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/common/xmlpool/Makefile.am b/src/mesa/drivers/dri/common/xmlpool/Makefile.am
index b545f37..8fd5606 100644
--- a/src/mesa/drivers/dri/common/xmlpool/Makefile.am
+++ b/src/mesa/drivers/dri/common/xmlpool/Makefile.am
@@ -67,7 +67,7 @@ options.h: t_options.h $(MOS)
 # Update .mo files from the corresponding .po files.
 %/LC_MESSAGES/options.mo: %.po
 	@mo="$@" \
-	lang=$${mo%%/*}; \
+	lang=$*; \
 	echo "Updating ($$lang) $@ from $?."; \
 	mkdir -p $$lang/LC_MESSAGES; \
 	msgfmt -o $@ $?
-- 
1.8.3.1


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to