Patchwork [07/14] Makefile: use $(qemu_confdir) instead of $(sysconfdir)/qemu

login
register
mail settings
Submitter Eduardo Habkost
Date April 18, 2012, 7:55 p.m.
Message ID <1334778950-18660-8-git-send-email-ehabkost@redhat.com>
Download mbox | patch
Permalink /patch/153582/
State New
Headers show

Comments

Eduardo Habkost - April 18, 2012, 7:55 p.m.
Instead of hardcoding the directory suffix, use the qemu-specific
directory variable.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/Makefile b/Makefile
index c8e4b53..a9bc796 100644
--- a/Makefile
+++ b/Makefile
@@ -281,8 +281,8 @@  ifdef CONFIG_VIRTFS
 	$(INSTALL_DATA) fsdev/virtfs-proxy-helper.1 "$(DESTDIR)$(mandir)/man1"
 endif
 install-sysconfig:
-	$(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu"
-	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu"
+	$(INSTALL_DIR) "$(DESTDIR)$(qemu_confdir)"
+	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(qemu_confdir)"
 
 install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
 	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"