From 40bcc56c77e0b27ead8a232be34106c6b60a1684 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 20 Mar 2021 12:51:59 +0100 Subject: doc/ottolangy.1.txt: Add the install prefix to installed files --- Makefile | 4 +++- doc/ottolangy.1.txt | 2 +- 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':: -- cgit v1.2.3