Permalink
Browse files

config.vapi was broken! extra #define should be removed.

  • Loading branch information...
1 parent 230453c commit 8f6605e5ff9d542b369daf725e2f51f00e32e8c8 @rainwoodman rainwoodman committed Apr 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile.config
View
@@ -2,7 +2,7 @@ config.vapi: config.h
rm -f $@
{ \
echo 'namespace Config {'; \
- sed -e '/#define.*"$$/s/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/;/#define.*[0-9]$$/s/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const int \1;/' $< ; \
+ sed -e '/#define.*"$$/s/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const string \1;/;/#define.*[0-9]$$/s/#define \([A-Z_]*\) .*/[CCode (cname = "\1")]\npublic static const int \1;/;/#define.*$$/d;' $< ; \
echo '}' ; \
} > $@

0 comments on commit 8f6605e

Please sign in to comment.