mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-01 04:03:36 +02:00
Because the man page references some stuff that are dependant on the configure options, it is a good idea to update the man page accordingly, so the user will not be puzzled later. There is now a script which takes care of replacing '@var@' in the same way autoconf does, but also which can handle conditional '@def@' removal (for the case of feature dependant command line options). The man page for Window Maker is now processed this way so user will always see accurate information. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
SUBDIRS = build sk cs ru
|
|
|
|
dist_man_MANS = \
|
|
geticonset.1x \
|
|
getstyle.1x \
|
|
get-wings-flags.1 \
|
|
get-wraster-flags.1 \
|
|
get-wutil-flags.1 \
|
|
seticons.1x \
|
|
setstyle.1x \
|
|
upgrade-windowmaker-defaults.8 \
|
|
wdread.1 \
|
|
wdwrite.1x \
|
|
WindowMaker.1x \
|
|
wmagnify.1x \
|
|
wmgenmenu.1 \
|
|
wmmenugen.1 \
|
|
wmsetbg.1x \
|
|
WPrefs.1x \
|
|
wxcopy.1x \
|
|
wxpaste.1x
|
|
|
|
man_MANS = \
|
|
wmaker.1x
|
|
|
|
MOSTLYCLEANFILES = wmaker.1x
|
|
|
|
EXTRA_DIST = wmaker.in
|
|
|
|
wmaker.1x: wmaker.in Makefile $(top_builddir)/config.h
|
|
$(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
|
|
--header "$(top_builddir)/config.h" --filter "HAVE_INOTIFY" \
|
|
-D"sysconfdir=$(sysconfdir)" --replace "sysconfdir" \
|
|
-D"pkgdatadir=$(pkgdatadir)" --replace "pkgdatadir" \
|
|
-o "wmaker.1x" "$(srcdir)/wmaker.in"
|
|
|
|
# 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 "wmaker.1x"
|
|
|
|
.PHONY: wmaker-args
|