util: improve the command line argument parsing in wmmenugen
[wmaker-crm.git] / doc / Makefile.am
blob500e33afaf5bbf98c5ee2eea02ae989fc1fb62aa
1 ## Process this file with automake to produce Makefile.in
3 SUBDIRS = build sk cs ru
5 dist_man_MANS = \
6         geticonset.1 \
7         getstyle.1 \
8         get-wings-flags.1 \
9         get-wraster-flags.1 \
10         get-wutil-flags.1 \
11         seticons.1 \
12         setstyle.1 \
13         upgrade-windowmaker-defaults.8 \
14         wdread.1 \
15         wdwrite.1 \
16         WindowMaker.1 \
17         wmagnify.1 \
18         wmgenmenu.1 \
19         wmmenugen.1 \
20         WPrefs.1 \
21         wxcopy.1 \
22         wxpaste.1
24 man_MANS = \
25         wmaker.1 \
26         wmsetbg.1
28 MOSTLYCLEANFILES = wmaker.1 wmsetbg.1
30 EXTRA_DIST = wmaker.in wmsetbg.in
32 wmaker.1: wmaker.in Makefile $(top_builddir)/config.h
33         $(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
34                 --header "$(top_builddir)/config.h" --filter "HAVE_INOTIFY" \
35                 --filter "USE_ICCCM_WMREPLACE" \
36                 -D"sysconfdir=$(sysconfdir)" --replace "sysconfdir" \
37                 -D"pkgdatadir=$(pkgdatadir)" --replace "pkgdatadir" \
38                 -o "wmaker.1"  "$(srcdir)/wmaker.in"
40 wmsetbg.1: wmsetbg.in Makefile $(top_builddir)/config.h
41         $(AM_V_GEN)$(top_srcdir)/script/replace-ac-keywords.sh \
42                 --header "$(top_builddir)/config.h" --filter "USE_XINERAMA" \
43                 -o "wmsetbg.1"  "$(srcdir)/wmsetbg.in"
45 # Create a 'silent rule' for our make check the same way automake does
46 AM_V_CHKOPTS = $(am__v_CHKOPTS_$(V))
47 am__v_CHKOPTS_  = $(am__v_CHKOPTS_$(AM_DEFAULT_VERBOSITY))
48 am__v_CHKOPTS_0 = @echo "  CHK      $@" ;
49 am__v_CHKOPTS_1 =
51 check-local: wmaker-args WPrefs-args wmagnify-args geticonset-args getstyle-args seticons-args setstyle-args \
52         wdread-args wdwrite-args wmgenmenu-args wmmenugen-args wmsetbg-args wxcopy-args wxpaste-args
54 wmaker-args:
55         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
56                 --program "$(top_builddir)/src/wmaker" --man-page "wmaker.1"
58 WPrefs-args:
59         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
60                 --program "$(top_builddir)/WPrefs.app/WPrefs" --man-page "$(top_srcdir)/doc/WPrefs.1"
62 wmagnify-args:
63         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
64                 --program "$(top_builddir)/util/wmagnify" --man-page "$(top_srcdir)/doc/wmagnify.1"
66 geticonset-args:
67         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
68                 --program "$(top_builddir)/util/geticonset" --man-page "$(top_srcdir)/doc/geticonset.1"
70 getstyle-args:
71         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
72                 --program "$(top_builddir)/util/getstyle" --man-page "$(top_srcdir)/doc/getstyle.1"
74 seticons-args:
75         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
76                 --program "$(top_builddir)/util/seticons" --man-page "$(top_srcdir)/doc/seticons.1"
78 setstyle-args:
79         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
80                 --program "$(top_builddir)/util/setstyle" --man-page "$(top_srcdir)/doc/setstyle.1"
82 wdread-args:
83         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
84                 --program "$(top_builddir)/util/wdread" --man-page "$(top_srcdir)/doc/wdread.1"
86 wdwrite-args:
87         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
88                 --program "$(top_builddir)/util/wdwrite" --man-page "$(top_srcdir)/doc/wdwrite.1"
90 wmgenmenu-args:
91         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
92                 --program "$(top_builddir)/util/wmgenmenu" --man-page "$(top_srcdir)/doc/wmgenmenu.1"
94 wmmenugen-args:
95         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
96                 --program "$(top_builddir)/util/wmmenugen" --man-page "$(top_srcdir)/doc/wmmenugen.1"
98 wmsetbg-args:
99         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
100                 --program "$(top_builddir)/util/wmsetbg" --man-page "wmsetbg.1"
102 wxcopy-args:
103         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
104                 --program "$(top_builddir)/util/wxcopy" --man-page "$(top_srcdir)/doc/wxcopy.1"
106 wxpaste-args:
107         $(AM_V_CHKOPTS)$(top_srcdir)/script/check-cmdline-options-doc.sh \
108                 --program "$(top_builddir)/util/wxpaste" --man-page "$(top_srcdir)/doc/wxpaste.1"
110 .PHONY: wmaker-args WPrefs-args wmagnify-args geticonset-args getstyle-args seticons-args setstyle-args \
111         wdread-args wdwrite-args wmgenmenu-args wmmenugen-args wmsetbg-args wxcopy-args wxpaste-args