Add some missing $(DESTDIR)s to the bininstall
authorMark Michelson <mmichelson@digium.com>
Tue, 18 Nov 2008 23:39:41 +0000 (23:39 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 18 Nov 2008 23:39:41 +0000 (23:39 +0000)
target of the Makefile.

(closes issue #13875)
Reported by: pabelanger
Patches:
      Makefile.155928 uploaded by pabelanger (license 224)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157564 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 97d50ee..1f6156d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -565,8 +565,8 @@ bininstall: _all installdirs $(SUBDIRS_INSTALL)
        mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
        mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
        mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
-       $(INSTALL) -m 644 doc/core-*.xml $(ASTDATADIR)/documentation
-       $(INSTALL) -m 644 doc/appdocsxml.dtd $(ASTVARLIBDIR)/documentation
+       $(INSTALL) -m 644 doc/core-*.xml $(DESTDIR)$(ASTDATADIR)/documentation
+       $(INSTALL) -m 644 doc/appdocsxml.dtd $(DESTDIR)$(ASTVARLIBDIR)/documentation
        $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
        $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
        $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8