aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-03-20 12:51:59 +0100
committerTeddy Wing2021-03-20 12:59:43 +0100
commit40bcc56c77e0b27ead8a232be34106c6b60a1684 (patch)
tree1482f06461cfdb66f2cb6de50a70df2f761cd3c5
parent7bf73bcd0a13d5c085415dd461a436294f54fbc1 (diff)
downloadmutt-ottolangy-40bcc56c77e0b27ead8a232be34106c6b60a1684.tar.bz2
doc/ottolangy.1.txt: Add the install prefix to installed files
-rw-r--r--Makefile4
-rw-r--r--doc/ottolangy.1.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 262b917..f0ce80c 100644
--- a/Makefile
+++ b/Makefile
@@ -33,4 +33,6 @@ test: $(DEBUG_PRODUCT)
doc: $(MAN_PAGE)
$(MAN_PAGE): doc/ottolangy.1.txt
- a2x --no-xmllint --format manpage $<
+ sed "s/\$$PREFIX/$$PREFIX/g" $< > "$<.tmp"
+ a2x --no-xmllint --format manpage "$<.tmp"
+ rm "$<.tmp"
diff --git a/doc/ottolangy.1.txt b/doc/ottolangy.1.txt
index 4c797c7..6fb82fd 100644
--- a/doc/ottolangy.1.txt
+++ b/doc/ottolangy.1.txt
@@ -22,7 +22,7 @@ defaults to English.
FILES
-----
-'/etc/ottolangy/muttrc'::
+'$PREFIX/etc/ottolangy/muttrc'::
Override Mutt's reply bindings, wrapping them in a call to Ottolangy.
'~/.local/share/ottolangy/attribution.muttrc'::