summaryrefslogtreecommitdiff
path: root/emulators/qemu/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu/files/patch-Makefile')
-rw-r--r--emulators/qemu/files/patch-Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/emulators/qemu/files/patch-Makefile b/emulators/qemu/files/patch-Makefile
index d6c95955fb14..93eddc846602 100644
--- a/emulators/qemu/files/patch-Makefile
+++ b/emulators/qemu/files/patch-Makefile
@@ -1,5 +1,5 @@
Index: qemu/Makefile
-@@ -19,7 +19,11 @@
+@@ -25,7 +25,11 @@
LDFLAGS += -static
endif
ifdef BUILD_DOCS
@@ -11,18 +11,19 @@ Index: qemu/Makefile
else
DOCS=
endif
-@@ -221,12 +225,12 @@
+@@ -260,13 +264,13 @@
+ endif
install-doc: $(DOCS)
+ifndef NOPORTDOCS
- mkdir -p "$(DESTDIR)$(docdir)"
- $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
+ $(INSTALL_DIR) "$(DESTDIR)$(docdir)"
+ $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
+endif
ifndef CONFIG_WIN32
- mkdir -p "$(DESTDIR)$(mandir)/man1"
- $(INSTALL) -m 644 qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
-- mkdir -p "$(DESTDIR)$(mandir)/man8"
-- $(INSTALL) -m 644 qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
+ $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
+- $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8"
+- $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
endif
install: all $(if $(BUILD_DOCS),install-doc)