From af1720c73402fbac95ce05a03acf153fdbf404b3 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Mar 2018 18:22:02 +0100 Subject: passextract.1: Make literals bold To more clearly identify literals in "`literal`" blocks in the man page, make them bold by doing a simple text replacement on them. Note that this Makefile makes a `passextract.1` file at the root of the project. Need to fix that. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6ea628a..ec9e50a 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ +MAN_PAGE := doc/passextract.1.txt +TRANSFORMED_MAN_PAGE := $(patsubst %,%.tmp,$(MAN_PAGE)) + doc/passextract.1: doc/passextract.1.txt - a2x --no-xmllint --format manpage $< + sed 's/`/*/g' $< > $(TRANSFORMED_MAN_PAGE) && \ + a2x --no-xmllint --format manpage $(TRANSFORMED_MAN_PAGE) && \ + rm $(TRANSFORMED_MAN_PAGE) -- cgit v1.2.3