summaryrefslogtreecommitdiff
path: root/extras/fstab_import
diff options
context:
space:
mode:
Diffstat (limited to 'extras/fstab_import')
-rw-r--r--extras/fstab_import/Makefile.am21
-rw-r--r--extras/fstab_import/fstab_import.c2
2 files changed, 22 insertions, 1 deletions
diff --git a/extras/fstab_import/Makefile.am b/extras/fstab_import/Makefile.am
new file mode 100644
index 0000000000..0ee7efb9ce
--- /dev/null
+++ b/extras/fstab_import/Makefile.am
@@ -0,0 +1,21 @@
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ fstab_import
+
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+ 79-fstab_import.rules
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+fstab_import_SOURCES = \
+ fstab_import.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+distclean-local:
+ rm -f Makefile.in
+
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c
index a8de067b38..2d24cfb38a 100644
--- a/extras/fstab_import/fstab_import.c
+++ b/extras/fstab_import/fstab_import.c
@@ -24,7 +24,7 @@
#include <mntent.h>
#include <sys/stat.h>
-#include "../../udev.h"
+#include "../../udev/udev.h"
static int debug;
static char root[PATH_SIZE] = "/dev";