diff --git a/.gitignore b/.gitignore index d4810a31..b3eb93f2 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ awesome-version-internal.h awesome-message awesome-menu uicbdocgen.txt +optsdocgen.txt diff --git a/Makefile.am b/Makefile.am index 42dc1d43..c78ad001 100644 --- a/Makefile.am +++ b/Makefile.am @@ -215,11 +215,12 @@ dist_iconslayouts_DATA += icons/layouts/tiletopw.png dist_iconslayouts_DATA += icons/layouts/tilew.png clean-local: - rm -f awesome*.1 awesome*.1.xml awesome*.5 awesome*.5.xml + rm -f awesome*.1 awesome*.1.xml awesome*.5 awesome*.5.xml optsdocgen.txt uicbdocgen.txt SUFFIXES += .1.xml .1 SUFFIXES += .5.xml .5 -EXTRA_DIST += build-utils/extractdoc.py +EXTRA_DIST += build-utils/extractuicbdoc.py +EXTRA_DIST += build-utils/extractoptsdoc.py if HAVE_XMLTO .1.xml.1: $(XMLTO) man $< @@ -230,11 +231,16 @@ endif SUFFIXES += .1.txt .1.xml SUFFIXES += .5.txt .5.xml if HAVE_ASCIIDOC +optsdocgen.txt: + $(top_srcdir)/build-utils/extractoptsdoc.py \ + $(top_srcdir)/common/configopts.c > optsdocgen.txt uicbdocgen.txt: - $(top_srcdir)/build-utils/extractdoc.py $(top_srcdir)/*.c > uicbdocgen.txt + $(top_srcdir)/build-utils/extractuicbdoc.py \ + $(top_srcdir)/*.c > uicbdocgen.txt .1.txt.1.xml: $(ASCIIDOC) -d manpage -b docbook -o $@ $< -.5.txt.5.xml: uicbdocgen.txt +awesomerc.5.xml: optsdocgen.txt uicbdocgen.txt +.5.txt.5.xml: $(ASCIIDOC) -d manpage -b docbook -o $@ $< endif diff --git a/awesomerc.5.txt b/awesomerc.5.txt index 00b14ef1..56c38097 100644 --- a/awesomerc.5.txt +++ b/awesomerc.5.txt @@ -8,236 +8,40 @@ awesomerc - Configuration file for the 'awesome window manager' SYNOPSIS -------- - - [] +.......................... +
[title] {