Commits

Paul Ruane committed b4e2b66

Relocated 'mount' helper script.
Updated Makefile with new helper script location.

Comments (0)

Files changed (5)

 	tar czf $(DIST_FILE) dist
 
 install:
-	@echo "Installing TMSU"
-	@echo -n "    "
+	@echo "* Installing TMSU"
 	cp bin/tmsu $(INSTALL_DIR)
-	@echo "Installing 'mount' command support"
-	@echo -n "    "
-	cp sbin/mount.tmsu $(MOUNT_INSTALL_DIR)
-	@echo "Installing man page"
-	@echo -n "    "
+	@echo "* Installing 'mount' command support"
+	cp misc/bin/mount.tmsu $(MOUNT_INSTALL_DIR)
+	@echo "* Installing man page"
 	mkdir -p $(MAN_INSTALL_DIR)
-	@echo -n "    "
 	gzip -kfc misc/man/tmsu.1 >$(MAN_INSTALL_DIR)/tmsu.1.gz
-	@echo "Installing Zsh completion"
-	@echo -n "    "
+	@echo "* Installing Zsh completion"
 	mkdir -p $(ZSH_COMP_INSTALL_DIR)
-	@echo -n "    "
 	cp misc/zsh/_tmsu $(ZSH_COMP_INSTALL_DIR)
 
 uninstall:
-	@echo "Uninstalling TMSU"
-	@echo -n "    "
+	@echo "* Uninstalling TMSU"
 	rm $(INSTALL_DIR)/tmsu
-	@echo "Uninstalling mount support"
-	@echo -n "    "
+	@echo "* Uninstalling mount support"
 	rm $(MOUNT_INSTALL_DIR)/mount.tmsu
-	@echo "Uninstalling man page"
+	@echo "* Uninstalling man page"
 	rm $(MAN_INSTALL_DIR)/tmsu.1.gz
-	@echo "Uninstalling Zsh completion"
-	@echo -n "    "
+	@echo "* Uninstalling Zsh completion"
 	rm $(ZSH_COMP_INSTALL_DIR)/_tmsu
+bin         Supporting binaries.
 db-upgrade  Database upgrade scripts.
 ebnf        Extended Backus-Naur Form file for the TMSU query language.
 man         Man page
+mount.tmsu: Helper script so that the TMSU virtual filesystem can be mounted
+            via the *nix 'mount 'command.
+

misc/bin/mount.tmsu

+#!/usr/bin/env bash
+
+export PATH
+
+# to allow other users access to the TMSU mount, enable the 'user_allow_other' option
+# in /etc/fuse.conf and then pass the 'allow_other' option below.
+#tmsu mount options=allow_other $1 $2
+
+tmsu mount $1 $2

sbin/mount.tmsu

-#!/usr/bin/env bash
-
-export PATH
-
-# to allow other users access to the TMSU mount, enable the 'user_allow_other' option
-# in /etc/fuse.conf and then pass the 'allow_other' option below.
-#tmsu mount options=allow_other $1 $2
-
-tmsu mount $1 $2