[build] Enhance documentation building
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2fd0b3c008
commit
2779610ab5
|
@ -233,10 +233,12 @@ SUFFIXES += .1.txt .1.xml
|
|||
SUFFIXES += .5.txt .5.xml
|
||||
if HAVE_ASCIIDOC
|
||||
if HAVE_PYTHON
|
||||
optsdocgen.txt:
|
||||
CLEANFILES += optsdocgen.txt
|
||||
CLEANFILES += uicbdocgen.txt
|
||||
optsdocgen.txt: common/configopts.c
|
||||
$(PYTHON) $(top_srcdir)/build-utils/extractoptsdoc.py \
|
||||
$(top_srcdir)/common/configopts.c > optsdocgen.txt
|
||||
uicbdocgen.txt:
|
||||
uicbdocgen.txt: $(awesome_SOURCES)
|
||||
$(PYTHON) $(top_srcdir)/build-utils/extractuicbdoc.py \
|
||||
$(top_srcdir)/*.c > uicbdocgen.txt
|
||||
.1.txt.1.xml:
|
||||
|
|
Loading…
Reference in New Issue