From a57cdc84e2f38ea99fd464d8b5b6446c769cc545 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 23 Jan 2019 08:56:40 +0100 Subject: Switch to autotools (#316) --- man/Makefile | 9 --------- man/asciidoc.conf | 18 ------------------ man/asciidoc.conf.in | 18 ++++++++++++++++++ 3 files changed, 18 insertions(+), 27 deletions(-) delete mode 100644 man/Makefile delete mode 100644 man/asciidoc.conf create mode 100644 man/asciidoc.conf.in (limited to 'man') diff --git a/man/Makefile b/man/Makefile deleted file mode 100644 index 1db82a4..0000000 --- a/man/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -all: i3status.1 - -A2X?=a2x -A2X_FLAGS= - -i3status.1: asciidoc.conf i3status.man - ${A2X} -f manpage --asciidoc-opts="-f asciidoc.conf" ${A2X_FLAGS} i3status.man -clean: - rm -f i3status.xml i3status.1 i3status.html diff --git a/man/asciidoc.conf b/man/asciidoc.conf deleted file mode 100644 index 459c639..0000000 --- a/man/asciidoc.conf +++ /dev/null @@ -1,18 +0,0 @@ -ifdef::doctype-manpage[] -ifdef::backend-docbook[] -[header] -template::[header-declarations] - - -{mantitle} -{manvolnum} -i3status -v2.12 -i3 Manual - - - {manname} - {manpurpose} - -endif::backend-docbook[] -endif::doctype-manpage[] diff --git a/man/asciidoc.conf.in b/man/asciidoc.conf.in new file mode 100644 index 0000000..671386a --- /dev/null +++ b/man/asciidoc.conf.in @@ -0,0 +1,18 @@ +ifdef::doctype-manpage[] +ifdef::backend-docbook[] +[header] +template::[header-declarations] + + +{mantitle} +{manvolnum} +i3status +@PACKAGE_VERSION@ +i3 Manual + + + {manname} + {manpurpose} + +endif::backend-docbook[] +endif::doctype-manpage[] -- cgit v1.2.3