[pacman-dev] [PATCH 2/2] meson: add toplevel target to create the website
Eli Schwartz
eschwartz at archlinux.org
Sun Jan 13 02:15:01 UTC 2019
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
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