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@