mirror of
https://github.com/anope/anope.git
synced 2026-07-09 10:43:13 +02:00
BUILD : 1.7.12 (947) BUGS : NOTES : Updated inspircd support module and fixed error with generating language.h on certain setups
git-svn-id: svn://svn.anope.org/anope/trunk@947 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@675 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
86ccb584dd
commit
0426f86966
+1
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user