[PATCH] usbutils.pc: use datarootdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you want to configure paths so that the usb.ids is stored in a proper
subdir of the /usr/share tree, you currently then have to manually move
the .pc file back up to /usr/share.  If we based the pkgconfig dir on the
datarootdir variable however, we can easily decouple the install of the
usb.ids file file from the rest of the files (man/etc...).

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 75f193e..5152259 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,7 +56,7 @@ lsusb.8: $(srcdir)/lsusb.8.in
 usb-devices.1: $(srcdir)/usb-devices.1.in
 	sed 's|VERSION|$(VERSION)|g' $< >$@
 
-pkgconfigdir = $(datadir)/pkgconfig
+pkgconfigdir = $(datarootdir)/pkgconfig
 pkgconfig_DATA = usbutils.pc
 
 usbutils.pc: $(srcdir)/usbutils.pc.in
-- 
1.7.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux