diff -uNr asterisk-addons-1.6.2.0.ORIG//Makefile asterisk-addons-1.6.2.0/Makefile --- asterisk-addons-1.6.2.0.ORIG//Makefile 2010-02-19 15:06:46.000000000 +0000 +++ asterisk-addons-1.6.2.0/Makefile 2010-02-19 15:07:50.000000000 +0000 @@ -185,7 +185,8 @@ install-xmldoc: doc/addons-en_US.xml @echo "Installing XML documentation" - @$(INSTALL) -m 644 doc/addons-*.xml $(ASTDATADIR)/documentation + @mkdir -p $(DESTDIR)$(ASTDATADIR)/documentation + @$(INSTALL) -m 644 doc/addons-*.xml $(DESTDIR)$(ASTDATADIR)/documentation cleantest: