summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-19 19:17:18 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-19 19:17:18 +0200
commit3ab2be88bde4c0baa1b3cad5d473bc07a8b5c1fb (patch)
treeef39cb7d87fa31edcc96d95c42100de21d352b98
parent8fac66c9d4045215d061ad73c3916937370c7c8e (diff)
udev.pc: add
-rw-r--r--configure.ac1
-rw-r--r--udev/Makefile.am4
-rw-r--r--udev/udev.pc.in5
3 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 82c455ddcb..9fde92a3a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,7 @@ AC_CONFIG_FILES([
libudev/docs/Makefile
libudev/docs/version.xml
udev/Makefile
+ udev/udev.pc
rules/Makefile
extras/Makefile
extras/ata_id/Makefile
diff --git a/udev/Makefile.am b/udev/Makefile.am
index 5f6f7c54c0..6c0b94e2cf 100644
--- a/udev/Makefile.am
+++ b/udev/Makefile.am
@@ -71,7 +71,11 @@ dist_man_MANS = \
udevadm.8 \
udevd.8
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = udev.pc
+
EXTRA_DIST = \
+ udev.pc.in \
udev.xml \
udevadm.xml \
udevd.xml
diff --git a/udev/udev.pc.in b/udev/udev.pc.in
new file mode 100644
index 0000000000..92a8b3ee17
--- /dev/null
+++ b/udev/udev.pc.in
@@ -0,0 +1,5 @@
+Name: udev
+Description: udev
+Version: @VERSION@
+
+udevdir=@libexecdir@