summaryrefslogtreecommitdiff
path: root/debian/build/Build
diff options
context:
space:
mode:
Diffstat (limited to 'debian/build/Build')
-rw-r--r--debian/build/Build23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/build/Build b/debian/build/Build
new file mode 100644
index 0000000..bf94717
--- /dev/null
+++ b/debian/build/Build
@@ -0,0 +1,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;