summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-01 00:13:48 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-01 00:13:48 +0000
commit5a67135a0b169b768435ace7c7698f7709ba131f (patch)
tree601e4bdc79f2c9436140ad0d5dcf823755abbbfe /Makefile
parent42f1e0e49b9c162c211eba0115c5e7d1de861f44 (diff)
downloadqemu-5a67135a0b169b768435ace7c7698f7709ba131f.tar.gz
automatic man page generation - BIOS installation
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@399 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bb5f574c0a..e21712faf1 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ LIBS=
DEFINES+=-D_GNU_SOURCE
TOOLS=qemu-mkcow
-all: dyngen $(TOOLS) qemu-doc.html
+all: dyngen $(TOOLS) qemu-doc.html qemu.1
for d in $(TARGET_DIRS); do \
make -C $$d $@ || exit 1 ; \
done
@@ -23,7 +23,7 @@ dyngen: dyngen.o
clean:
# avoid old build problems by removing potentially incorrect old files
rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h
- rm -f *.o *.a $(TOOLS) dyngen TAGS
+ rm -f *.o *.a $(TOOLS) dyngen TAGS qemu.pod
for d in $(TARGET_DIRS); do \
make -C $$d $@ || exit 1 ; \
done
@@ -37,6 +37,10 @@ distclean: clean
install: all
mkdir -p $(prefix)/bin
install -m 755 -s $(TOOLS) $(prefix)/bin
+ mkdir -p $(sharedir)
+ install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin $(sharedir)
+ mkdir -p $(mandir)/man1
+ install qemu.1 $(mandir)/man1
for d in $(TARGET_DIRS); do \
make -C $$d $@ || exit 1 ; \
done
@@ -52,6 +56,10 @@ TAGS:
qemu-doc.html: qemu-doc.texi
texi2html -monolithic -number $<
+qemu.1: qemu-doc.texi
+ ./texi2pod.pl $< qemu.pod
+ pod2man --section=1 --center=" " --release=" " qemu.pod > $@
+
FILE=qemu-$(shell cat VERSION)
# tar release (use 'make -k tar' on a checkouted tree)