Revision acd935ef Makefile
b/Makefile | ||
---|---|---|
14 | 14 |
ifdef CONFIG_STATIC |
15 | 15 |
LDFLAGS+=-static |
16 | 16 |
endif |
17 |
DOCS=qemu-doc.html qemu-tech.html qemu.1 |
|
17 |
DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1
|
|
18 | 18 |
|
19 | 19 |
all: dyngen$(EXESUF) $(TOOLS) $(DOCS) |
20 | 20 |
for d in $(TARGET_DIRS); do \ |
... | ... | |
30 | 30 |
clean: |
31 | 31 |
# avoid old build problems by removing potentially incorrect old files |
32 | 32 |
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 |
33 |
rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS qemu.pod *~ */*~
|
|
33 |
rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS *.pod *~ */*~
|
|
34 | 34 |
$(MAKE) -C tests clean |
35 | 35 |
for d in $(TARGET_DIRS); do \ |
36 | 36 |
$(MAKE) -C $$d $@ || exit 1 ; \ |
... | ... | |
57 | 57 |
install -m 644 qemu-doc.html qemu-tech.html "$(docdir)" |
58 | 58 |
ifndef CONFIG_WIN32 |
59 | 59 |
mkdir -p "$(mandir)/man1" |
60 |
install qemu.1 qemu-mkcow.1 "$(mandir)/man1"
|
|
60 |
install qemu.1 qemu-img.1 "$(mandir)/man1"
|
|
61 | 61 |
endif |
62 | 62 |
for d in $(TARGET_DIRS); do \ |
63 | 63 |
$(MAKE) -C $$d $@ || exit 1 ; \ |
... | ... | |
78 | 78 |
./texi2pod.pl $< qemu.pod |
79 | 79 |
pod2man --section=1 --center=" " --release=" " qemu.pod > $@ |
80 | 80 |
|
81 |
qemu-img.1: qemu-img.texi |
|
82 |
./texi2pod.pl $< qemu-img.pod |
|
83 |
pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@ |
|
84 |
|
|
81 | 85 |
FILE=qemu-$(shell cat VERSION) |
82 | 86 |
|
83 | 87 |
# tar release (use 'make -k tar' on a checkouted tree) |
... | ... | |
92 | 96 |
( cd / ; tar zcvf ~/qemu-$(VERSION)-i386.tar.gz \ |
93 | 97 |
$(bindir)/qemu $(bindir)/qemu-fast \ |
94 | 98 |
$(bindir)/qemu-system-ppc \ |
99 |
$(bindir)/qemu-system-sparc \ |
|
95 | 100 |
$(bindir)/qemu-i386 \ |
96 | 101 |
$(bindir)/qemu-arm \ |
97 | 102 |
$(bindir)/qemu-sparc \ |
... | ... | |
105 | 110 |
$(datadir)/linux_boot.bin \ |
106 | 111 |
$(docdir)/qemu-doc.html \ |
107 | 112 |
$(docdir)/qemu-tech.html \ |
108 |
$(mandir)/man1/qemu.1 $(mandir)/man1/qemu-mkcow.1 )
|
|
113 |
$(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1 )
|
|
109 | 114 |
|
110 | 115 |
ifneq ($(wildcard .depend),) |
111 | 116 |
include .depend |
Also available in: Unified diff