Welcome to little lamb

Code » comain » master » tree

[master] / meta / deps.tpl / skalibs / get_version

#!/bin/sh
isint=$1
intdir=$2
libdir=$3
incdir=$4

if test $isint -eq 1; then
    d="$intdir/src/include"
else
    d="$incdir"
fi

grep SKALIBS_VERSION "$d/skalibs/config.h" | cut -d\" -f2