Attached is a patch to fix 'make install' when the docs are not built
(it currently fails).

- Leo Reiter


Paul Brook wrote:
> CVSROOT:      /sources/qemu
> Module name:  qemu
> Branch:       
> Changes by:   Paul Brook <[EMAIL PROTECTED]>  06/04/23 17:57:59
> 
> Modified files:
>       .              : Makefile configure 
> 
> Log message:
>       Autodetect tools neccessary for building documentation.
>       Make distclean remove generated documentation files.
> 
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/Makefile.diff?tr1=1.96&tr2=1.97&r1=text&r2=text
> http://cvs.savannah.gnu.org/viewcvs/qemu/qemu/configure.diff?tr1=1.93&tr2=1.94&r1=text&r2=text

-- 
Leonardo E. Reiter
Vice President of Product Development, CTO

Win4Lin, Inc.
Virtual Computing that means Business
Main: +1 512 339 7979
Fax: +1 512 532 6501
http://www.win4lin.com
Index: Makefile
===================================================================
RCS file: /cvsroot/qemu/qemu/Makefile,v
retrieving revision 1.97
diff -a -u -r1.97 Makefile
--- Makefile	23 Apr 2006 17:57:59 -0000	1.97
+++ Makefile	30 Apr 2006 15:03:51 -0000
@@ -55,11 +55,15 @@
 			video.x proll.elf linux_boot.bin; do \
 		$(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
 	done
+ifdef BUILD_DOCS
 	mkdir -p "$(DESTDIR)$(docdir)"
 	$(INSTALL) -m 644 qemu-doc.html  qemu-tech.html "$(DESTDIR)$(docdir)"
+endif
 ifndef CONFIG_WIN32
+ifdef BUILD_DOCS
 	mkdir -p "$(DESTDIR)$(mandir)/man1"
 	$(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
+endif
 	mkdir -p "$(DESTDIR)$(datadir)/keymaps"
 	for x in $(KEYMAPS); do \
 		$(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to