summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-14 12:07:53 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-14 12:07:53 +0000
commit0cb3fb1e30a7789881e184b1134f2f47752b64d5 (patch)
treee1c19ac217c5975565ea50f01fd32e98b5c6bcd3 /Makefile
parentc59372208a928828dd7d1cceaee78b48e5e03611 (diff)
downloadqemu-0cb3fb1e30a7789881e184b1134f2f47752b64d5.tar.gz
qemu-0cb3fb1e30a7789881e184b1134f2f47752b64d5.tar.bz2
qemu-0cb3fb1e30a7789881e184b1134f2f47752b64d5.zip
Add doc, html, dvi and .PHONY Makefile targets.
Add resulting files to .cvsignore. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1921 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e6cff9a9e5..b6f496e6ab 100644
--- 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)