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
This commit is contained in:
pbrook 2006-05-14 12:07:53 +00:00
parent c59372208a
commit 0cb3fb1e30
2 changed files with 25 additions and 0 deletions

View File

@ -11,6 +11,8 @@ ppc64-softmmu
ppc-user ppc-user
qemu-doc.html qemu-doc.html
qemu-tech.html qemu-tech.html
qemu-doc.info
qemu-tech.info
qemu.1 qemu.1
qemu.pod qemu.pod
qemu-img.1 qemu-img.1
@ -25,5 +27,16 @@ mips-softmmu
mipsel-softmmu mipsel-softmmu
mips-user mips-user
mipsel-user mipsel-user
.gdbinit
sh4-user sh4-user
sh4-softmmu sh4-softmmu
*.aux
*.cp
*.dvi
*.fn
*.ky
*.log
*.pg
*.toc
*.tp
*.vr

View File

@ -1,5 +1,10 @@
# Makefile for QEMU.
include config-host.mak 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. CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.
ifdef CONFIG_DARWIN ifdef CONFIG_DARWIN
CFLAGS+= -mdynamic-no-pic CFLAGS+= -mdynamic-no-pic
@ -41,6 +46,7 @@ clean:
distclean: clean distclean: clean
rm -f config-host.mak config-host.h $(DOCS) 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 \ for d in $(TARGET_DIRS); do \
rm -rf $$d || exit 1 ; \ rm -rf $$d || exit 1 ; \
done done
@ -105,6 +111,12 @@ qemu-img.1: qemu-img.texi
$(SRC_PATH)/texi2pod.pl $< qemu-img.pod $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
pod2man --section=1 --center=" " --release=" " 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) FILE=qemu-$(shell cat VERSION)
# tar release (use 'make -k tar' on a checkouted tree) # tar release (use 'make -k tar' on a checkouted tree)