html_pages += [p2]
endforeach
-custom_target('man',
- depends : man_pages,
- output : ['man'],
- command : ['echo'])
-
-custom_target('html',
- depends : html_pages,
- output : ['html'],
- command : ['echo'])
+man = custom_target('man',
+ depends : man_pages,
+ output : 'man',
+ command : ['echo'])
+
+html = custom_target('html',
+ depends : html_pages,
+ output : 'html',
+ command : ['echo'])
+
+custom_target('doc-sync',
+ depends : [man, html],
+ output : ['doc-sync'],
+ command : ['rsync', '-rlv',
+ '--delete-excluded',
+ '--include=man',
+ '--include=*.html',
+ '--exclude=*',
+ '--omit-dir-times',
+ meson.current_build_dir(),
+ get_option('www-target')])
option('support-url', type : 'string',
description : 'the support URL to show in catalog entries included in systemd',
value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
+option('www-target', type : 'string',
+ description : 'the address and dir to upload docs too',
+ value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
description : 'SECCOMP support')