summaryrefslogtreecommitdiff
path: root/extras/edd_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/edd_id')
-rw-r--r--extras/edd_id/Makefile.am24
-rw-r--r--extras/edd_id/edd_id.c2
2 files changed, 25 insertions, 1 deletions
diff --git a/extras/edd_id/Makefile.am b/extras/edd_id/Makefile.am
new file mode 100644
index 0000000000..fa4f18c9fb
--- /dev/null
+++ b/extras/edd_id/Makefile.am
@@ -0,0 +1,24 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ edd_id
+
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+ 61-persistent-storage-edd.rules
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+edd_id_SOURCES = \
+ edd_id.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+dist_man_MANS = \
+ edd_id.8
+
+distclean-local:
+ rm -f Makefile.in
+
diff --git a/extras/edd_id/edd_id.c b/extras/edd_id/edd_id.c
index 4a177709a8..9d745c505a 100644
--- a/extras/edd_id/edd_id.c
+++ b/extras/edd_id/edd_id.c
@@ -23,7 +23,7 @@
#include <dirent.h>
#include <stdint.h>
-#include "../../udev.h"
+#include "../../udev/udev.h"
#ifdef USE_LOG
void log_message(int priority, const char *format, ...)