summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index faa3b37a..e66f9d47 100644
--- a/Makefile
+++ b/Makefile
@@ -111,8 +111,7 @@ endef
define LISP_TO_C_STRING
$(call ABBREV,L2C)
$(V)echo "const wchli_t *${@:.h=}_code = wli(" > $@
-$(V)sed -n -e '/^(/,$$p' $< | \
- sed -e 's/["\\]/\\&/g' -e 's/$$/\\n/' -e 's/.*/"&"/' >> $@
+$(V)sed -e 's/;.*//' -e 's/["\\]/\\&/g' -e 's/$$/\\n/' -e 's/.*/"&"/' $< >> $@
$(V)echo ");" >> $@
endef