diff options
Diffstat (limited to 'extras/collect')
-rw-r--r-- | extras/collect/Makefile.am | 11 | ||||
-rw-r--r-- | extras/collect/collect.c | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/extras/collect/Makefile.am b/extras/collect/Makefile.am new file mode 100644 index 0000000000..a92f4aa9f5 --- /dev/null +++ b/extras/collect/Makefile.am @@ -0,0 +1,11 @@ +udevhomedir = $(udev_prefix)/lib/udev +udevhome_PROGRAMS = \ + collect + +AM_CPPFLAGS = \ + -DSYSCONFDIR=\""$(sysconfdir)"\" \ + -DUDEV_PREFIX=\""$(udev_prefix)"\" + +distclean-local: + rm -f Makefile.in + diff --git a/extras/collect/collect.c b/extras/collect/collect.c index ce49b9f410..14184a5e05 100644 --- a/extras/collect/collect.c +++ b/extras/collect/collect.c @@ -31,9 +31,9 @@ #include <sys/types.h> #include <sys/stat.h> -#include "../../list.h" +#include "../../udev/list.h" -#define TMPFILE "/dev/.udev/collect" +#define TMPFILE UDEV_PREFIX "/dev/.udev/collect" #define BUFSIZE 16 #define UDEV_ALARM_TIMEOUT 180 |