aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-24 05:23:33 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-24 05:23:33 +0000
commit10d0d0bdcc3bef6c339489e754d8a50d25f06905 (patch)
tree23e6691adfbbf0640136e43cc3a57051a7ed2a48 /Makefile
parent567a07bbed48d6fa324b3a77d7a0b4983f662298 (diff)
Restore the ability to remove the firmware directory without causing the
installation to fail (issue #8111) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46093 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d85a386f1..d6198b750 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