#!/bin/sh

cd $WRKSRC

# Move the all directory out of the way; it messes with the all target
if [ -e all ]; then
    mv all xall
fi

# Copy the bmake files into place
install -c $FILESDIR/Makefile Makefile
install -c $FILESDIR/Makefile.inc Makefile.inc

for i in doc dsssl generic grove include jade jadedoc lib nsgmls \
    sgmlnorm spam spent spgrove style sx; do
    install -c $FILESDIR/$i-Makefile $i/Makefile
done
