aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-18 18:34:52 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-18 18:34:52 +0000
commit5347367b5017911e5308c31e072fdf2e469b9e30 (patch)
tree64a9ae356a74ba20b4f228cd22c99b2305b6e799 /Makefile
parentaa6c297b1b7c04d7cbdd2e286cc138017f4bd2b0 (diff)
also include /etc/asterisk.makeopts, but have file in home directory override
it if present git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6154 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d985edb6..336b5ea10 100755
--- a/Makefile
+++ b/Makefile
@@ -121,6 +121,12 @@ HTTP_CGIDIR=/var/www/cgi-bin
# If the file .asterisk.makeopts is present in your home directory, you can
# include all of your favorite Makefile options so that every time you download
# a new version of Asterisk, you don't have to edit the makefile to set them.
+# The file, /etc/asterisk.makeopts will also be included, but can be overridden
+# by the file in your home directory.
+
+ifneq ($(wildcard /etc/asterisk.makeopts),)
+include /etc/asterisk.makeopts
+endif
ifneq ($(wildcard ~/.asterisk.makeopts),)
include ~/.asterisk.makeopts