mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
wmaker: created script to check program's options against documentation
In order to ease the job of keeping the documentations up to date, there is a new script 'check-cmdline-options' that checks a program's options (with the '--help' option) and compare them with its documentation (the manual page) to make sure everything is aligned. This is triggered with "make check" for wmaker. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
794a8f408a
commit
b6270f5a92
@@ -25,3 +25,16 @@ man_MANS = \
|
||||
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
# Create a 'silent rule' for our make check the same way automake does
|
||||
AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
|
||||
am__v_CHKOPTS_ = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
|
||||
am__v_CHKOPTS_0 = @echo " CHK $@" ;
|
||||
am__v_CHKOPTS_1 =
|
||||
|
||||
check-local: wmaker-args
|
||||
|
||||
wmaker-args:
|
||||
$(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
|
||||
--program "$(top_builddir)/src/wmaker" --man-page "$(top_srcdir)/doc/wmaker.1x"
|
||||
|
||||
.PHONY: wmaker-args
|
||||
|
||||
Reference in New Issue
Block a user