diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2023-09-22 08:51:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 08:51:14 +0300 |
commit | f1e01d54f6b99c718f2e8e556132be17fc814743 (patch) | |
tree | 59c1ae733ea860a6cc948ee0a27e010dad7dd96b /src | |
parent | a964587ee2c8609e3955d1a3e486893c0f6439c1 (diff) | |
parent | 27d91be27c1bbfb9b55a7af60aca54c86818c12d (diff) | |
download | bindfs-f1e01d54f6b99c718f2e8e556132be17fc814743.tar.gz |
Merge pull request #140 from Kentzo/master
Allow mount to use bindfs with configuration via /etc/fstab.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 383f791..da443a1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,3 +10,14 @@ AM_CFLAGS = ${my_CFLAGS} bindfs_LDADD = ${fuse_LIBS} ${fuse3_LIBS} ${fuse_t_LIBS} ${my_LDFLAGS} man_MANS = bindfs.1 + +if BUILD_OS_IS_DARWIN +bindfs_BUNDLEDIR = /Library/Filesystems/bindfs.fs +bindfs_BUNDLEBINDIR = "${bindfs_BUNDLEDIR}/Contents/Resources" + +install-exec-hook: + (mkdir -p "${bindfs_BUNDLEBINDIR}"; ln -s "${bindir}/bindfs" "${bindfs_BUNDLEBINDIR}/mount_bindfs") + +uninstall-hook: + (rm -rf ${bindfs_BUNDLEDIR}) +endif |