22 |
22 |
configure: ;
|
23 |
23 |
|
24 |
24 |
.PHONY: all clean cscope distclean dvi html info install install-doc \
|
25 |
|
recurse-all speed tar tarbin test build-all
|
|
25 |
pdf recurse-all speed tar tarbin test build-all
|
26 |
26 |
|
27 |
27 |
$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
|
28 |
28 |
|
... | ... | |
160 |
160 |
rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi
|
161 |
161 |
rm -f config-all-devices.mak
|
162 |
162 |
rm -f roms/seabios/config.mak roms/vgabios/config.mak
|
163 |
|
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
|
|
163 |
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pdf,pg,toc,tp,vr}
|
164 |
164 |
for d in $(TARGET_DIRS) libhw32 libhw64 libuser; do \
|
165 |
165 |
rm -rf $$d || exit 1 ; \
|
166 |
166 |
done
|
... | ... | |
224 |
224 |
cscope -b
|
225 |
225 |
|
226 |
226 |
# documentation
|
|
227 |
TEXIFLAG=$(if $(V),,--quiet)
|
|
228 |
%.dvi: %.texi
|
|
229 |
$(call quiet-command,texi2dvi $(TEXIFLAG) -I . $<," GEN $@")
|
|
230 |
|
227 |
231 |
%.html: %.texi
|
228 |
232 |
$(call quiet-command,texi2html -I=. -monolithic -number $<," GEN $@")
|
229 |
233 |
|
230 |
234 |
%.info: %.texi
|
231 |
235 |
$(call quiet-command,makeinfo -I . $< -o $@," GEN $@")
|
232 |
236 |
|
233 |
|
%.dvi: %.texi
|
234 |
|
$(call quiet-command,texi2dvi -I . $<," GEN $@")
|
|
237 |
%.pdf: %.texi
|
|
238 |
$(call quiet-command,texi2pdf $(TEXIFLAG) -I . $<," GEN $@")
|
235 |
239 |
|
236 |
240 |
qemu-options.texi: $(SRC_PATH)/qemu-options.hx
|
237 |
241 |
$(call quiet-command,sh $(SRC_PATH)/hxtool -t < $< > $@," GEN $@")
|
... | ... | |
260 |
264 |
pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@, \
|
261 |
265 |
" GEN $@")
|
262 |
266 |
|
263 |
|
info: qemu-doc.info qemu-tech.info
|
264 |
|
|
265 |
267 |
dvi: qemu-doc.dvi qemu-tech.dvi
|
266 |
|
|
267 |
268 |
html: qemu-doc.html qemu-tech.html
|
|
269 |
info: qemu-doc.info qemu-tech.info
|
|
270 |
pdf: qemu-doc.pdf qemu-tech.pdf
|
268 |
271 |
|
269 |
|
qemu-doc.dvi qemu-doc.html qemu-doc.info: qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-monitor.texi qemu-img-cmds.texi
|
|
272 |
qemu-doc.dvi qemu-doc.html qemu-doc.info qemu-doc.pdf: \
|
|
273 |
qemu-img.texi qemu-nbd.texi qemu-options.texi \
|
|
274 |
qemu-monitor.texi qemu-img-cmds.texi
|
270 |
275 |
|
271 |
276 |
VERSION ?= $(shell cat VERSION)
|
272 |
277 |
FILE = qemu-$(VERSION)
|