diff options
Diffstat (limited to 'modules/freetype2/version.sed')
-rw-r--r-- | modules/freetype2/version.sed | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/freetype2/version.sed b/modules/freetype2/version.sed new file mode 100644 index 000000000..c281ff506 --- /dev/null +++ b/modules/freetype2/version.sed @@ -0,0 +1,5 @@ +#! /usr/bin/sed -nf + +s/^#define *FREETYPE_MAJOR *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p +s/^#define *FREETYPE_MINOR *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p +s/^#define *FREETYPE_PATCH *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p |