Add install-doc rule. Use it when building docs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1877 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6ca957f08f
commit
38954dca9f
14
Makefile
14
Makefile
@ -47,7 +47,15 @@ KEYMAPS=da en-gb et fr fr-ch is lt modifiers no pt-br sv \
|
|||||||
ar de en-us fi fr-be hr it lv nl pl ru th \
|
ar de en-us fi fr-be hr it lv nl pl ru th \
|
||||||
common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
|
common de-ch es fo fr-ca hu ja mk nl-be pt sl tr
|
||||||
|
|
||||||
install: all
|
install-doc: $(DOCS)
|
||||||
|
mkdir -p "$(DESTDIR)$(docdir)"
|
||||||
|
$(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
|
||||||
|
ifndef CONFIG_WIN32
|
||||||
|
mkdir -p "$(DESTDIR)$(mandir)/man1"
|
||||||
|
$(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
|
||||||
|
endif
|
||||||
|
|
||||||
|
install: all $(if $(BUILD_DOCS),install-doc)
|
||||||
mkdir -p "$(DESTDIR)$(bindir)"
|
mkdir -p "$(DESTDIR)$(bindir)"
|
||||||
$(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
|
$(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)"
|
||||||
mkdir -p "$(DESTDIR)$(datadir)"
|
mkdir -p "$(DESTDIR)$(datadir)"
|
||||||
@ -55,11 +63,7 @@ install: all
|
|||||||
video.x proll.elf linux_boot.bin; do \
|
video.x proll.elf linux_boot.bin; do \
|
||||||
$(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
|
$(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
|
||||||
done
|
done
|
||||||
mkdir -p "$(DESTDIR)$(docdir)"
|
|
||||||
$(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
|
|
||||||
ifndef CONFIG_WIN32
|
ifndef CONFIG_WIN32
|
||||||
mkdir -p "$(DESTDIR)$(mandir)/man1"
|
|
||||||
$(INSTALL) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
|
|
||||||
mkdir -p "$(DESTDIR)$(datadir)/keymaps"
|
mkdir -p "$(DESTDIR)$(datadir)/keymaps"
|
||||||
for x in $(KEYMAPS); do \
|
for x in $(KEYMAPS); do \
|
||||||
$(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
|
$(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user