diff options
author | Teddy Wing | 2018-03-03 18:22:02 +0100 |
---|---|---|
committer | Teddy Wing | 2018-03-03 18:22:02 +0100 |
commit | af1720c73402fbac95ce05a03acf153fdbf404b3 (patch) | |
tree | 19ebd2e7e4a24ea99db8e1b9a1bb342af036f2d4 /Makefile | |
parent | 094f65dc9966ffddc9798ed506de6c4e159d82af (diff) | |
download | Passextract-af1720c73402fbac95ce05a03acf153fdbf404b3.tar.bz2 |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |