summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/lang/Makefile b/lang/Makefile
index a302e6d9a..8d3c55dcd 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -75,15 +75,7 @@ langcomp: langcomp.c
language.h: index Makefile
- @perl -e <index >$@ '\
- print STDERR "Generating language.h... "; \
- $$i=0; \
- while (<>) { \
- chop; \
- printf "#define %-32s %d\n", $$_, $$i++; \
- } \
- print "\n#define NUM_STRINGS $$i\n"; \
- print STDERR "$$i strings\n";'
+ @perl -e <index >$@ 'print STDERR "Generating language.h... "; $$i=0; while (<>) { chop; printf "#define %-32s %d\n", $$_, $$i++; } print "\n#define NUM_STRINGS $$i\n"; print STDERR "$$i strings\n";'
index: en_us.l
grep '^[A-Z]' en_us.l >index