diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-23 17:57:59 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-23 17:57:59 +0000 |
commit | cc8ae6de58eb6cd8748197442bbcdc165b5f87a2 (patch) | |
tree | e565deddd2339eb6e59e51261928522a720a7d35 /Makefile | |
parent | d0ecd2aaf9ecc2c434eed4c5de7917787476223e (diff) | |
download | hqemu-cc8ae6de58eb6cd8748197442bbcdc165b5f87a2.zip hqemu-cc8ae6de58eb6cd8748197442bbcdc165b5f87a2.tar.gz |
Autodetect tools neccessary for building documentation.
Make distclean remove generated documentation files.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1834 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,7 +11,11 @@ TOOLS=qemu-img$(EXESUF) ifdef CONFIG_STATIC LDFLAGS+=-static endif +ifdef BUILD_DOCS DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 +else +DOCS= +endif all: dyngen$(EXESUF) $(TOOLS) $(DOCS) for d in $(TARGET_DIRS); do \ @@ -34,7 +38,7 @@ clean: done distclean: clean - rm -f config-host.mak config-host.h + rm -f config-host.mak config-host.h $(DOCS) for d in $(TARGET_DIRS); do \ rm -rf $$d || exit 1 ; \ done |