diff options
Diffstat (limited to 'lang/Makefile')
| -rw-r--r-- | lang/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/Makefile b/lang/Makefile index 8d3c55dcd..9f7a9a7e0 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -37,10 +37,10 @@ install: all fi clean: - rm -f $(LANGOBJS) langcomp + rm -f $(LANGOBJS) langcomp language.h spotless: clean - rm -f language.h index + rm -f index cat: cat.l langcomp index @@ -76,6 +76,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";' + cp language.h ../include index: en_us.l grep '^[A-Z]' en_us.l >index |
