From 3ab2be88bde4c0baa1b3cad5d473bc07a8b5c1fb Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 19 Jun 2009 19:17:18 +0200 Subject: [PATCH] udev.pc: add --- configure.ac | 1 + udev/Makefile.am | 4 ++++ udev/udev.pc.in | 5 +++++ 3 files changed, 10 insertions(+) create mode 100644 udev/udev.pc.in diff --git a/configure.ac b/configure.ac index 82c455ddcb8..9fde92a3a85 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 5f6f7c54c00..6c0b94e2cf7 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 00000000000..92a8b3ee173 --- /dev/null +++ b/udev/udev.pc.in @@ -0,0 +1,5 @@ +Name: udev +Description: udev +Version: @VERSION@ + +udevdir=@libexecdir@