waf: Fix bug #8801 - build s3fs manpages.
[samba.git] / docs-xml / wscript_build
1 #!/usr/bin/env python
2
3 manpages='''
4          manpages/eventlogadm.8
5          manpages/findsmb.1
6          manpages/libsmbclient.7
7          manpages/lmhosts.5
8          manpages/log2pcap.1
9          manpages/net.8
10          manpages/nmbd.8
11          manpages/nmblookup.1
12          manpages/ntlm_auth.1
13          manpages/pdbedit.8
14          manpages/profiles.1
15          manpages/rpcclient.1
16          manpages/samba.7
17          manpages/sharesec.1
18          manpages/smb.conf.5
19          manpages/smbcacls.1
20          manpages/smbclient.1
21          manpages/smbcontrol.1
22          manpages/smbcquotas.1
23          manpages/smbd.8
24          manpages/smbget.1
25          manpages/smbgetrc.5
26          manpages/smbpasswd.5
27          manpages/smbpasswd.8
28          manpages/smbspool.8
29          manpages/smbstatus.1
30          manpages/smbta-util.8
31          manpages/smbtar.1
32          manpages/smbtree.1
33          manpages/swat.8
34          manpages/testparm.1
35          manpages/vfs_acl_tdb.8
36          manpages/vfs_acl_xattr.8
37          manpages/vfs_aio_fork.8
38          manpages/vfs_aio_linux.8
39          manpages/vfs_aio_pthread.8
40          manpages/vfs_audit.8
41          manpages/vfs_cacheprime.8
42          manpages/vfs_cap.8
43          manpages/vfs_catia.8
44          manpages/vfs_commit.8
45          manpages/vfs_crossrename.8
46          manpages/vfs_default_quota.8
47          manpages/vfs_dirsort.8
48          manpages/vfs_extd_audit.8
49          manpages/vfs_fake_perms.8
50          manpages/vfs_fileid.8
51          manpages/vfs_full_audit.8
52          manpages/vfs_gpfs.8
53          manpages/vfs_media_harmony.8
54          manpages/vfs_netatalk.8
55          manpages/vfs_notify_fam.8
56          manpages/vfs_prealloc.8
57          manpages/vfs_preopen.8
58          manpages/vfs_readahead.8
59          manpages/vfs_readonly.8
60          manpages/vfs_recycle.8
61          manpages/vfs_scannedonly.8
62          manpages/vfs_shadow_copy.8
63          manpages/vfs_shadow_copy2.8
64          manpages/vfs_smb_traffic_analyzer.8
65          manpages/vfs_streams_depot.8
66          manpages/vfs_streams_xattr.8
67          manpages/vfs_time_audit.8
68          manpages/vfs_tsmsm.8
69          manpages/vfs_xattr_tdb.8
70          manpages/vfstest.1
71          manpages/wbinfo.1
72          manpages/winbindd.8
73          '''
74
75 pam_winbind_manpages = '''
76                        manpages/pam_winbind.8
77                        manpages/pam_winbind.conf.5
78                        '''
79
80 krb5_locator_manpages = 'manpages/winbind_krb5_locator.7'
81
82 if ('XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']):
83
84     bld.MANPAGES(manpages)
85
86     if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
87         bld.MANPAGES(pam_winbind_manpages)
88
89     if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
90         bld.MANPAGES(krb5_locator_manpages)