Skip to contentSkip to conversation

qemu Makefile configure

Qemu-devel Paul Brook 2 participants 2 messages Apr 23, 2006 – Apr 30, 2006 Kbuild

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

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

#1 lore raw

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

- Leo Reiter

Quoted 15 lines · Paul Brook

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

Signature · 8 lines
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

Makefile +4 -0
diff -a -u -r1.97 Makefile
@@ -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"; \