]> git.proxmox.com Git - qemu.git/blobdiff - Makefile
Add doc, html, dvi and .PHONY Makefile targets.
[qemu.git] / Makefile
index e6cff9a9e5291b5558bf89db67b838acb78e1d6b..b6f496e6ab95ded61dc377fd736582d9f771b281 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,10 @@
+# Makefile for QEMU.
+
 include config-host.mak
 
+.PHONY: all clean distclean dvi info install install-doc tar tarbin \
+       speed test test2 html dvi info
+
 CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.
 ifdef CONFIG_DARWIN
 CFLAGS+= -mdynamic-no-pic
@@ -41,6 +46,7 @@ clean:
 
 distclean: clean
        rm -f config-host.mak config-host.h $(DOCS)
+       rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
        for d in $(TARGET_DIRS); do \
        rm -rf $$d || exit 1 ; \
         done
@@ -105,6 +111,12 @@ qemu-img.1: qemu-img.texi
        $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
        pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
 
+info: qemu-doc.info qemu-tech.info
+
+dvi: qemu-doc.dvi qemu-tech.dvi
+
+html: qemu-doc.html qemu-tech.html
+
 FILE=qemu-$(shell cat VERSION)
 
 # tar release (use 'make -k tar' on a checkouted tree)