From 6cb86c3a330caedc323599cb11fbed4138958271 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 23 Nov 2012 18:56:16 -0500 Subject: Propagation of configured installation paths to Makefile.am and .c code This commit is a continuation of the previous one in which all the configured paths obtained in configure.ac are propagated to the Makefile.am and .c files via AM_CPPFLAGS of the form -DUDEV_CONF_FILE=\"$(udevconffile)\". This should address the issue in https://github.com/gentoo/eudev/issues/17 Signed-off-by: Anthony G. Basile --- src/udev/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/udev/Makefile.am') diff --git a/src/udev/Makefile.am b/src/udev/Makefile.am index f353e079a8..6e85181ae2 100644 --- a/src/udev/Makefile.am +++ b/src/udev/Makefile.am @@ -7,7 +7,10 @@ AM_CPPFLAGS = \ -include $(top_builddir)/config.h \ -DMODPROBE=\"$(MODPROBE)\" \ -DROOTPREFIX=\"$(rootprefix)\" \ - -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\" \ + -DUDEV_HWDB_DIR=\"$(udevhwdbdir)\" \ + -DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" \ + -DUDEV_RULES_DIR=\"$(udevrulesdir)\" \ + -DUDEV_LIBEXEC_DIR=\"$(udevlibexecdir)\" \ -I $(top_srcdir)/src/libudev sbin_PROGRAMS = \ -- cgit v1.2.3-54-g00ecf