changeset 91511:67e3af8e0a49

(unidata.txt): Use ARGQUOTE and DQUOTE macros.
author Jason Rumney <jasonr@gnu.org>
date Mon, 04 Feb 2008 11:22:25 +0000
parents 5f67edbc76c0
children bc1d66655d41
files admin/unidata/makefile.w32-in
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/admin/unidata/makefile.w32-in	Mon Feb 04 11:22:15 2008 +0000
+++ b/admin/unidata/makefile.w32-in	Mon Feb 04 11:22:25 2008 +0000
@@ -32,7 +32,9 @@
 	$(RUNEMACS) -f batch-byte-compile $<
 
 unidata.txt: UnicodeData.txt
-	sed -e "s/\([^;]*\);\(.*\)/(#x\1 \"\2\")/" -e "s/;/\" \"/g" < $< > $@
+	sed -e \
+	  $(ARGQUOTE)s/\([^;]*\);\(.*\)/(#x\1 $(DQUOTE)\2$(DQUOTE))/$(ARGQUOTE)\
+	  -e $(ARGQUOTE)s/;/$(DQUOTE) $(DQUOTE)/g$(ARGQUOTE) < $< > $@
 
 charprop-SH: unidata-gen.elc unidata.txt
 	ELC=$(CURDIR)/unidata-gen.elc; \