aboutsummaryrefslogtreecommitdiff
path: root/sshfs.1.in
diff options
context:
space:
mode:
authorJulio Merino <jmmv@meroh.net>2016-02-08 21:10:48 -0500
committerJulio Merino <jmmv@meroh.net>2016-02-08 21:10:48 -0500
commit9b4ca1aadefbb75ab4051e0b0e9173709456f7fb (patch)
treee7f4f74ed91779bdde639cc35a12a7ab27626334 /sshfs.1.in
parenta03d3eab39b265fb9fcb5287d81061e7957f355a (diff)
downloadsshfs-9b4ca1aadefbb75ab4051e0b0e9173709456f7fb.tar
sshfs-9b4ca1aadefbb75ab4051e0b0e9173709456f7fb.tar.gz
sshfs-9b4ca1aadefbb75ab4051e0b0e9173709456f7fb.tar.bz2
sshfs-9b4ca1aadefbb75ab4051e0b0e9173709456f7fb.zip
Avoid using cpp for sshfs.1 generation
Move the logic to determine which values to stick into the manual page to the configure script and replace the logic to build the sshfs.1 manual page with sed instead of abusing cpp. I'm not using AC_OUTPUT here because this macro is typically used to generate support build files. Final artifacts of the build should, in general, be built by the Makefile itself.
Diffstat (limited to 'sshfs.1.in')
-rw-r--r--sshfs.1.in18
1 files changed, 3 insertions, 15 deletions
diff --git a/sshfs.1.in b/sshfs.1.in
index 7d431ed..fcf3e9f 100644
--- a/sshfs.1.in
+++ b/sshfs.1.in
@@ -7,11 +7,7 @@ SSHFS \- filesystem client based on ssh
\fBsshfs\fP [\fIuser\fP@]\fBhost\fP:[\fIdir\fP] \fBmountpoint\fP [\fIoptions\fP]
.SS unmounting
.TP
-#ifdef __APPLE__
-\fBumount mountpoint\fP
-#else
-\fBfusermount -u mountpoint\fP
-#endif
+\fB__UNMOUNT_COMMAND__ mountpoint\fP
.SH DESCRIPTION
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other
operating systems with a FUSE implementation, such as Mac OS X or FreeBSD)
@@ -101,22 +97,14 @@ fix buffer fillup bug in server (default: on)
.RE
.TP
\fB\-o\fR idmap=TYPE
-user/group ID mapping, possible types are:
+user/group ID mapping (default: __IDMAP_DEFAULT__)
.RS 8
.TP
none
-#ifdef __APPLE__
no translation of the ID space
-#else
-no translation of the ID space (default)
-#endif
.TP
user
-#ifdef __APPLE__
-only translate UID/GID of connecting user (default)
-#else
-only translate UID of connecting user
-#endif
+only translate UID/GID of connecting user
.TP
file
translate UIDs/GIDs based upon the contents of \fBuidfile \fR and