blob: 1dc9c0b94f2de2452d8c10218b82216750260aed (
plain) (
tree)
|
|
Index: qemu/Makefile
@@ -19,14 +19,19 @@
BASE_LDFLAGS += -static
endif
ifdef BUILD_DOCS
+ifdef NOPORTDOCS
+DOCS=qemu.1 qemu-img.1
+else
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1
+endif
else
DOCS=
endif
ifndef CONFIG_DARWIN
ifndef CONFIG_WIN32
-LIBS+=-lrt
+# XXX need ifndef CONFIG_BSD
+# LIBS+=-lrt
endif
endif
@@ -64,8 +69,10 @@
common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
install-doc: $(DOCS)
+ifndef NOPORTDOCS
mkdir -p "$(DESTDIR)$(docdir)"
$(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
+endif
ifndef CONFIG_WIN32
mkdir -p "$(DESTDIR)$(mandir)/man1"
$(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
|