Add missing dependencies for qemu-doc.* (Stefan Weil)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Sep 2008 01:13:40 +0000 (01:13 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 24 Sep 2008 01:13:40 +0000 (01:13 +0000)
This patch fixes some items in Makefile:

* remove duplicate entries from .PHONY
* add missing entries to .PHONY
* sort entries in .PHONY alphabetically
* add missing dependencies for qemu-doc.* targets

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5307 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile

index de6393e..d1a1adb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@
 
 include config-host.mak
 
-.PHONY: all clean distclean dvi info install install-doc tar tarbin \
-       speed test html dvi info
+.PHONY: all clean cscope distclean dvi html info install install-doc \
+       recurse-all speed tar tarbin test
 
 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
 
@@ -32,7 +32,7 @@ ifdef CONFIG_WIN32
 LIBS+=-lwinmm -lws2_32 -liphlpapi
 endif
 
-all: $(TOOLS) $(DOCS) recurse-all 
+all: $(TOOLS) $(DOCS) recurse-all
 
 SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS))
 
@@ -288,6 +288,8 @@ dvi: qemu-doc.dvi qemu-tech.dvi
 
 html: qemu-doc.html qemu-tech.html
 
+qemu-doc.dvi qemu-doc.html qemu-doc.info: qemu-img.texi qemu-nbd.texi
+
 VERSION ?= $(shell cat VERSION)
 FILE = qemu-$(VERSION)