misc/libfreetype/version.sed
author koda
Sun, 20 Jan 2013 23:05:31 +0100
changeset 8412 a2465e542e3d
parent 5172 88f2e05288ba
permissions -rw-r--r--
lupdate -pro project_files/hedgewars.pro -no-obsolete yes, I think the lupdate commits should be separate and should contain the -no-obsole flag

#! /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