modules/freetype2/version.sed
author Jonathan Kew <jkew@mozilla.com>
Tue, 04 Nov 2014 13:49:46 +0000
changeset 225494 d3e330ef99c92e3b408c91a825a2fed8eb859c39
parent 22693 9e5b08f9e9d96d15872c7b8c60312bb579be4115
permissions -rw-r--r--
Bug 1076904 - Include a copy of FreeType's LICENSE.TXT at the top level of modules/freetype2. r=gerv

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