summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Todd Zullinger2009-05-11 15:24:09 -0400
committerGravatar Matt Colyer2009-05-11 20:29:46 -0700
commit9da6bc0c7e9cf7d5d458bbb9d3ef607757f2f48d (patch)
tree357f1397ca251b50a7b258751ae7694e7dd99b3d /src/Makefile.am
parentf3dbc12d4494da2fab11791ab73de60b06e79e8c (diff)
downloadifuse-9da6bc0c7e9cf7d5d458bbb9d3ef607757f2f48d.tar.gz
ifuse-9da6bc0c7e9cf7d5d458bbb9d3ef607757f2f48d.tar.bz2
Fix 'make distcheck'0.9.1
mount.fuse.ifuse needs to be installed in /sbin by default, but this breaks 'make distcheck'. This adds a --disable-root-sbin option to configure and uses it when running 'make distcheck'. Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 17798c6..11f2815 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,11 @@
AM_CFLAGS = $(libglib2_CFLAGS) $(libfuse_CFLAGS) $(libiphone_CFLAGS) -g
AM_LDFLAGS = $(libglib2_LIBS) $(libfuse_LIBS) $(libiphone_LIBS)
+if WITHOUT_ROOT_SBIN
+rootsbinexecdir = $(sbindir)
+else
rootsbinexecdir = /sbin
+endif
rootsbinexec_PROGRAMS = mount.fuse.ifuse
mount_fuse_ifuse_SOURCES = ifuse.c