From: Russell Bryant Date: Mon, 18 Jul 2005 18:34:52 +0000 (+0000) Subject: also include /etc/asterisk.makeopts, but have file in home directory override X-Git-Tag: 1.2.0-beta1~253 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f04f09e5a3ef4617b0f8c2cd346ef407d0dd0b4;p=thirdparty%2Fasterisk.git also include /etc/asterisk.makeopts, but have file in home directory override it if present git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6154 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index 1d985edb69..336b5ea10c 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