mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-23 17:53:40 +08:00
7fb6beed01
On my non-representative hardware, the full build using autotools (./autogen.sh && CFLAGS=-O2 ./configure && make -j`nproc` && make -j`nproc` install) takes about 45 seconds. On the same hardware, the full build using meson (meson setup -Doptimization=2 dir && meson compile -C dir && meson install -C dir) takes just about 7.5 seconds.
27 lines
429 B
Meson
27 lines
429 B
Meson
custom_man_xsl = custom_target(
|
|
'custom-man.xsl',
|
|
input: 'custom-man.xsl.in',
|
|
output: ['custom-man.xsl'],
|
|
command: [
|
|
redir_exe,
|
|
'@INPUT@',
|
|
'@OUTPUT@',
|
|
'sed',
|
|
's+MAN_STYLESHEET+' + man_stylesheet + '+g'
|
|
]
|
|
)
|
|
|
|
install_data(
|
|
'index.html',
|
|
install_dir: htmldir,
|
|
install_tag: 'doc',
|
|
)
|
|
|
|
install_html = files('install-html.sh')
|
|
|
|
subdir('man')
|
|
subdir('specs')
|
|
subdir('sag')
|
|
subdir('adg')
|
|
subdir('mwg')
|