#!/bin/sh
OSNAME=$1
HDR=src/version.h
echo >$HDR
apiverstring=`grep ^RELEASE lib/lib.$OSNAME/p4api/sample/Version | awk '{print $3 "." $4}'`
apiverid=`grep ^PATCHLEVEL lib/lib.$OSNAME/p4api/sample/Version | awk '{print $3}'`
echo \#define P4APIVER_STRING \"$apiverstring\" >>$HDR
echo \#define P4APIVER_ID \"$apiverid\" >>$HDR
echo \#define ID_OS \"$OSNAME\" >>$HDR
px -F "#define ID_PATCH \"%change%\"" changes -m1 ... >>$HDR
# |
Change |
User |
Description |
Committed |
|
#1
|
6354 |
Shawn Hladky |
px: changes so will build under linux |
|
|