#! /bin/csh -f

cd $1
foreach i (*.h)
    if (! -e $2/$i) then
	echo "installing $i"
	cp $i $2/$i
    else
	cmp -s $i $2/$i
	if ($status != 0) then
	    echo "updating $i"
	    rm -f $2/$i
	    cp $i $2/$i
	endif
    endif
end
