aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'::