aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu-devel/files/patch-Makefile
blob: d328b46686cd76664e72b01da9fba9e71edf6d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- Makefile.orig   2015-12-17 20:32:52 UTC
+++ Makefile
@@ -90,7 +90,11 @@
 HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
 
 ifdef BUILD_DOCS
+ifdef NOPORTDOCS
+DOCS=qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
+else
 DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
+endif
 DOCS+=qmp-commands.txt
 ifdef CONFIG_LINUX
 DOCS+=kvm_stat.1
@@ -407,8 +411,10 @@
 
 install-doc: $(DOCS)
    $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)"
+ifndef NOPORTDOCS
    $(INSTALL_DATA) qemu-doc.html  qemu-tech.html "$(DESTDIR)$(qemu_docdir)"
    $(INSTALL_DATA) qmp-commands.txt "$(DESTDIR)$(qemu_docdir)"
+endif
 ifdef CONFIG_POSIX
    $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
    $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1"