summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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@