summaryrefslogtreecommitdiff
path: root/dist/newalpha
blob: 20da2a7d4bffd38149d9dd51efd16ede3979ed90 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
#	$Header: /usr/local/cvs/internal/libtiff/dist/newalpha,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $
if test -r tiff.alpha; then
    ALPHA=`cat tiff.alpha`; rm -f tiff.alpha
    echo "$ALPHA" | awk '{ printf "define ALPHA %03d\n", $3+1}' > tiff.alpha
else
    echo "define ALPHA 001" >tiff.alpha
fi