[Libosinfo] [libosinfo 1/3] build: Take DESTDIR into account when creating symlinks
Christophe Fergeau
cfergeau at redhat.com
Wed Mar 27 11:32:53 UTC 2013
From: Andreas Henriksson <andreas at fatal.se>
---
data/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/Makefile.am b/data/Makefile.am
index 77ad889..37d7e30 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -11,7 +11,7 @@ usb.ids:
-wget -q -O $@ http://www.linux-usb.org/usb.ids
else
usb_ids_install:
- $(LN_S) $(USB_IDS) $(pkgdatadir)/db/usb.ids
+ $(LN_S) $(USB_IDS) $(DESTDIR)$(pkgdatadir)/db/usb.ids
INSTALL_DATA_HOOK_DEPS += usb_ids_install
endif
@@ -22,7 +22,7 @@ pci.ids:
-wget -q -O $@ http://pciids.sourceforge.net/v2.2/pci.ids
else
pci_ids_install:
- $(LN_S) $(PCI_IDS) $(pkgdatadir)/db/pci.ids
+ $(LN_S) $(PCI_IDS) $(DESTDIR)$(pkgdatadir)/db/pci.ids
INSTALL_DATA_HOOK_DEPS += pci_ids_install
endif
--
1.8.1.4
More information about the Libosinfo
mailing list