From: Russell Bryant Date: Tue, 24 Oct 2006 05:23:33 +0000 (+0000) Subject: Restore the ability to remove the firmware directory without causing the X-Git-Tag: 1.4.0-beta4~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cc4200696fc44fb9348e518d2fe631879a96e21;p=thirdparty%2Fasterisk.git Restore the ability to remove the firmware directory without causing the installation to fail (issue #8111) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46093 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index d85a386f15..d6198b7507 100644 --- a/Makefile +++ b/Makefile @@ -434,7 +434,9 @@ bininstall: _all $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8 $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8 $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8 - $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ + if [ -f contrib/firmware/iax/iaxy.bin ] ; then \ + $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \ + fi $(SUBDIRS_INSTALL): @DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" $(MAKE) -C $(@:-install=) install