$NetBSD: patch-ay,v 1.3 2009/03/24 20:04:51 abs Exp $ --- ioemu/Makefile.orig 2008-04-25 14:03:12.000000000 +0100 +++ ioemu/Makefile @@ -68,11 +68,12 @@ install-doc: $(DOCS) $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)" ifndef CONFIG_WIN32 mkdir -p "$(DESTDIR)$(mandir)/man1" - $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1" + $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1/xen-qemu.1" + $(INSTALL_DATA) qemu-img.1 "$(DESTDIR)$(mandir)/man1/xen-qemu-img.1" endif install: all $(if $(BUILD_DOCS),install-doc) - mkdir -p "$(DESTDIR)$(bindir)" + $(BSD_INSTALL_PROGRAM_DIR) ${DESTDIR}$(bindir) # $(INSTALL) -m 755 -s $(TOOLS) "$(DESTDIR)$(bindir)" # mkdir -p "$(DESTDIR)$(datadir)" # for x in bios.bin vgabios.bin vgabios-cirrus.bin ppc_rom.bin \ @@ -80,9 +81,9 @@ install: all $(if $(BUILD_DOCS),install- # $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \ # done ifndef CONFIG_WIN32 - mkdir -p "$(DESTDIR)$(datadir)/keymaps" + $(BSD_INSTALL_DATA_DIR) ${DESTDIR}$(datadir)/keymaps for x in $(KEYMAPS); do \ - $(INSTALL_DATA) $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \ + $(BSD_INSTALL_DATA) $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \ done endif for d in $(TARGET_DIRS); do \