summaryrefslogtreecommitdiff
path: root/debian/build/Build
blob: bf94717df7cd494c897c5d119b2d04fc5d622bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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;