From 19ffbf6e0f68dbf54c1a875fab70e4b2ed9474ae Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 28 Feb 2008 12:36:17 +0100 Subject: [PATCH] move awesomerc manpages to section 5 (File format) --- Makefile.am | 12 +++++++++--- awesome-client.1.txt | 2 +- awesome.1.txt | 2 +- awesomerc.1.txt => awesomerc.5.txt | 2 +- build-utils/uicbgen.sh | 2 +- build-utils/widgetgen.sh | 2 +- 6 files changed, 14 insertions(+), 8 deletions(-) rename awesomerc.1.txt => awesomerc.5.txt (99%) diff --git a/Makefile.am b/Makefile.am index 0a63c4d6..5352166f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -162,14 +162,14 @@ if HAVE_ASCIIDOC if XMLTO_MAN_WORKS man_MANS += awesome.1 man_MANS += awesome-client.1 -man_MANS += awesomerc.1 +man_MANS += awesomerc.5 endif endif endif EXTRA_DIST += awesome.1.txt EXTRA_DIST += awesome-client.1.txt -EXTRA_DIST += awesomerc.1.txt +EXTRA_DIST += awesomerc.5.txt dist_iconslayouts_DATA += icons/layouts/dwindle.png dist_iconslayouts_DATA += icons/layouts/dwindlew.png @@ -189,18 +189,24 @@ dist_iconslayouts_DATA += icons/layouts/tiletopw.png dist_iconslayouts_DATA += icons/layouts/tilew.png clean-local: - rm -f awesome*.1 awesome*.1.xml + rm -f awesome*.1 awesome*.1.xml awesome*.5 awesome*.5.xml SUFFIXES += .1.xml .1 +SUFFIXES += .5.xml .5 if HAVE_XMLTO .1.xml.1: $(XMLTO) man $< +.5.xml.5: + $(XMLTO) man $< endif SUFFIXES += .1.txt .1.xml +SUFFIXES += .5.txt .5.xml if HAVE_ASCIIDOC .1.txt.1.xml: $(ASCIIDOC) -d manpage -b docbook -o $@ $< +.5.txt.5.xml: + $(ASCIIDOC) -d manpage -b docbook -o $@ $< endif diff --git a/awesome-client.1.txt b/awesome-client.1.txt index 250da80d..9b1e4f07 100644 --- a/awesome-client.1.txt +++ b/awesome-client.1.txt @@ -43,7 +43,7 @@ To zoom focused window on screen 0: SEE ALSO -------- -awesome(1) awesomerc(1) +awesome(1) awesomerc(5) AUTHORS ------- diff --git a/awesome.1.txt b/awesome.1.txt index 597e6506..50ef73f6 100644 --- a/awesome.1.txt +++ b/awesome.1.txt @@ -140,7 +140,7 @@ awesome is customized by creating a custom $HOME/.awesomerc file. SEE ALSO -------- -awesomerc(1) dmenu(1) dzen2(1) +awesomerc(5) dmenu(1) dzen2(1) BUGS ---- diff --git a/awesomerc.1.txt b/awesomerc.5.txt similarity index 99% rename from awesomerc.1.txt rename to awesomerc.5.txt index bffcb967..9348b0c2 100644 --- a/awesomerc.1.txt +++ b/awesomerc.5.txt @@ -1,4 +1,4 @@ -awesomerc(1) +awesomerc(5) =========== NAME diff --git a/build-utils/uicbgen.sh b/build-utils/uicbgen.sh index 744caa96..2905961d 100755 --- a/build-utils/uicbgen.sh +++ b/build-utils/uicbgen.sh @@ -11,7 +11,7 @@ do do shortname=$(echo $uicb | cut -d _ -f2-) echo " {\"$shortname\", $uicb}," - grep -q "\*$shortname\*" ${top_srcdir}/awesomerc.1.txt || \ + grep -q "\*$shortname\*" ${top_srcdir}/awesomerc.5.txt || \ echo " WARNING: $uicb NOT documented" >&2 done done diff --git a/build-utils/widgetgen.sh b/build-utils/widgetgen.sh index 92fb3688..82eaf118 100755 --- a/build-utils/widgetgen.sh +++ b/build-utils/widgetgen.sh @@ -11,7 +11,7 @@ do do shortname=$(echo $widget | cut -d_ -f1) echo " {\"$shortname\", $widget}," - grep -q "^$shortname" ${top_srcdir}/awesomerc.1.txt || \ + grep -q "^$shortname" ${top_srcdir}/awesomerc.5.txt || \ echo " WARNING: $uicb NOT documented" >&2 done done