#!/bin/sh
#-----------------------------------------------------------------------------
#   $Sendmail: build/Build,v 8.12.0 2001/03/21 11:41:31 cowboy Exp $
#
#   Copyright (c) 2001-2001 Richard Nelson.  All Rights Reserved.
#
#   Debian script to rationalize builds for Sendmail prior to 8.9.0
#
#-----------------------------------------------------------------------------
set -e;

# If ./Makefiles is a directory, we need to use makesendmail
if [ -d Makefiles ]; then
	sh makesendmail;

# If ./Makefile.dist exists, use it
elif [ -f Makefile.dist ]; then
	(cd obj* && make;);

# Otherwise, well, there's not much we can do
else
	:;
	fi;
