From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel][PATCH]Makefile targets for new documentation formats
Date: Sun, 14 May 2006 13:00:10 +0200 [thread overview]
Message-ID: <44670DBA.30806@mail.berlios.de> (raw)
The patch enhances the Makefile with new targets
(and ignores these targets and intermediate files for CVS):
make info - create documentation in info format
make dvi - create documentation in dvi format
It also fixes some minor issues in Makefile:
* Missing config-host.mak still allows calling make,
e.g. for make distclean.
* Added .PHONY for GNU make.
Regards
Stefan
diff -u -b -B -u -r1.13 .cvsignore
--- .cvsignore 30 Apr 2006 21:33:34 -0000 1.13
+++ .cvsignore 14 May 2006 10:42:47 -0000
@@ -11,6 +11,8 @@
ppc-user
qemu-doc.html
qemu-tech.html
+qemu-doc.info
+qemu-tech.info
qemu.1
qemu.pod
qemu-img.1
@@ -25,5 +27,16 @@
mipsel-softmmu
mips-user
mipsel-user
+.gdbinit
sh4-user
sh4-softmmu
+*.aux
+*.cp
+*.dvi
+*.fn
+*.ky
+*.log
+*.pg
+*.toc
+*.tp
+*.vr
Index: Makefile
===================================================================
RCS file: /sources/qemu/qemu/Makefile,v
retrieving revision 1.101
diff -u -b -B -u -r1.101 Makefile
--- Makefile 13 May 2006 16:54:03 -0000 1.101
+++ Makefile 14 May 2006 10:42:47 -0000
@@ -1,4 +1,8 @@
-include config-host.mak
+# Makefile for QEMU.
+
+-include config-host.mak
+
+.PHONY: all clean distclean dvi info install install-doc tar tarbin
speed test test2
CFLAGS=-Wall -O2 -g -fno-strict-aliasing -I.
ifdef CONFIG_DARWIN
@@ -41,6 +45,8 @@
distclean: clean
rm -f config-host.mak config-host.h $(DOCS)
+ rm -f qemu-doc.{aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
+ rm -f qemu-tech.{aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in $(TARGET_DIRS); do \
rm -rf $$d || exit 1 ; \
done
@@ -97,6 +103,10 @@
%.dvi: %.texi
texi2dvi $<
+info: qemu-doc.info qemu-tech.info
+
+dvi: qemu-doc.dvi qemu-tech.dvi
+
qemu.1: qemu-doc.texi
$(SRC_PATH)/texi2pod.pl $< qemu.pod
pod2man --section=1 --center=" " --release=" " qemu.pod > $@
next reply other threads:[~2006-05-14 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-14 11:00 Stefan Weil [this message]
2006-05-14 12:09 ` [Qemu-devel][PATCH]Makefile targets for new documentation formats Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44670DBA.30806@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).