diff --git a/Makefile b/Makefile index a9bc79659a..4f43793866 100644 --- a/Makefile +++ b/Makefile @@ -268,8 +268,8 @@ BLOBS= endif install-doc: $(DOCS) - $(INSTALL_DIR) "$(DESTDIR)$(docdir)" - $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" + $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)" + $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(qemu_docdir)" ifdef CONFIG_POSIX $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1" $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" diff --git a/configure b/configure index b64c99b427..c0fac322eb 100755 --- a/configure +++ b/configure @@ -3024,7 +3024,7 @@ echo "includedir=$includedir" >> $config_host_mak echo "mandir=$mandir" >> $config_host_mak echo "qemu_datadir=$qemu_datadir" >> $config_host_mak echo "sysconfdir=$sysconfdir" >> $config_host_mak -echo "docdir=$qemu_docdir" >> $config_host_mak +echo "qemu_docdir=$qemu_docdir" >> $config_host_mak echo "qemu_confdir=$qemu_confdir" >> $config_host_mak echo "libexecdir=\${prefix}/libexec" >> $config_host_mak echo "CONFIG_QEMU_SHAREDIR=\"$prefix$datasuffix\"" >> $config_host_mak