Description: Include cloakify/decloakify into the build
 Modify Makefile to fit Debian's needs.
 In the manual page, debianize the description of the cloak command.
 Alter comment in tomb to be more generic, i.e. not specific to the pbkdf2
 helper tools.
Forwarded: not-needed
Author: Sven Geuer <sge@debian.org>
Last Update: 2024-07-21
--- a/extras/cloak/Makefile
+++ b/extras/cloak/Makefile
@@ -1,5 +1,6 @@
 PREFIX ?= /usr/local
+BINDIR = /libexec/tomb
 
 install:
-	install -Dm755 cloakify.py ${DESTDIR}${PREFIX}/bin/cloakify
-	install -Dm755 decloakify.py ${DESTDIR}${PREFIX}/bin/decloakify
+	install -Dm755 cloakify.py ${DESTDIR}${PREFIX}${BINDIR}/cloakify
+	install -Dm755 decloakify.py ${DESTDIR}${PREFIX}${BINDIR}/decloakify
--- a/tomb
+++ b/tomb
@@ -101,7 +101,7 @@
 
 # Make sure sbin is in PATH (man zshparam)
 path+=( /sbin /usr/sbin )
-# Make sure location of kdb-pbkdf2 binaries is in PATH
+# Make sure location of helper tools is in PATH
 path+=( /usr/libexec/tomb )
 
 # For gettext
--- a/doc/tomb.1
+++ b/doc/tomb.1
@@ -218,11 +218,12 @@
 
 .B
 .IP "cloak"
-Cloaks a tomb key (\fI-k\fR) disguising it as a text file using a
-cipher from \fIextras/cloak/ciphers\fR (second argument) using
-\fIcloakify\fR. This option is useful to backup tomb keys in
-unsuspected places; it needs \fIextras/cloak\fR installed and
-\fIpython3\fR.
+Cloaks a tomb key (\fI-k\fR) disguising it as text using a cipher file
+(first argument) writing the result to stdout or optionally an output
+file (second argument). See
+\fI/usr/share/doc/tomb/examples/cloak-ciphers\fR for potential cipher
+files. However, it is recommended to create and use one's own ciphers.
+This option is useful to backup tomb keys in unsuspected places.
 
 .B
 .IP "uncloak"
