[pacman-dev] [PATCH 2/2] meson: add toplevel target to create the website

Dave Reisner d at falconindy.com
Sun Jan 13 13:17:10 UTC 2019


On Sat, Jan 12, 2019 at 09:15:01PM -0500, Eli Schwartz wrote:
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---

This is really just an alias, right? To match what autotools does? Does
anyone actually care about this? Might it be better to just rename the
existing target to 'website' instead?

>  doc/meson.build | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/meson.build b/doc/meson.build
> index 4d796492..5a1a1dc5 100644
> --- a/doc/meson.build
> +++ b/doc/meson.build
> @@ -104,7 +104,7 @@ run_target('html',
>             command : ['/bin/true'],
>             depends : html_targets)
>  
> -custom_target(
> +website_tar_gz = custom_target(
>    'website.tar.gz',
>    command : [
>      'bsdtar', 'czf', '@OUTPUT@',
> @@ -124,6 +124,10 @@ custom_target(
>    depends : html_targets,
>  )
>  
> +run_target('website',
> +           command : ['/bin/true'],
> +           depends : website_tar_gz)
> +


>  meson.add_install_script(MESON_MAKE_SYMLINK,
>                           'repo-add.8',
>                           join_paths(MANDIR, 'man8/repo-remove.8'))
> -- 
> 2.20.1


More information about the pacman-dev mailing list