Skip to content
Snippets Groups Projects
Commit 797f075e authored by Simon McVittie's avatar Simon McVittie
Browse files

Move most documentation into pressure-vessel/ directory

parent 221d4a53
No related branches found
No related tags found
No related merge requests found
......@@ -183,10 +183,6 @@ endif
subdir('pressure-vessel')
if get_option('man')
subdir('man')
endif
subdir('tests')
# vim:set sw=2 sts=2 et:
File moved
File moved
File moved
File moved
......@@ -263,7 +263,7 @@ def main():
)
install(
os.path.join(args.srcdir, 'THIRD-PARTY.md'),
os.path.join(args.srcdir, 'pressure-vessel', 'THIRD-PARTY.md'),
os.path.join(installation, 'metadata', 'README.txt'),
0o644,
)
......
File moved
File moved
File moved
......@@ -21,48 +21,4 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
pandoc = find_program('pandoc', required : true)
if run_command(pandoc, [
'-f', 'markdown-smart',
'-t', 'man',
'/dev/null',
]).returncode() == 0
pandoc_markdown_nosmart = 'markdown-smart'
else
pandoc_markdown_nosmart = 'markdown'
endif
foreach tool : [
'adverb',
'launch',
'launcher',
'locale-gen',
'test-ui',
'try-setlocale',
'unruntime',
'wrap',
]
custom_target(
tool + '.1',
build_by_default : true,
command : [
pandoc,
'-s',
'-o', '@OUTPUT@',
'-f', pandoc_markdown_nosmart,
'-t', 'man',
'@INPUT@',
],
input : tool + '.1.md',
output : 'pressure-vessel-' + tool + '.1',
install : true,
install_dir : join_paths(
get_option('prefix'),
get_option('mandir'),
'man1',
),
)
endforeach
# vim:set sw=2 sts=2 et:
......@@ -242,4 +242,50 @@ if get_option('srcdir') != ''
)
endif
if get_option('man')
pandoc = find_program('pandoc', required : true)
if run_command(pandoc, [
'-f', 'markdown-smart',
'-t', 'man',
'/dev/null',
]).returncode() == 0
pandoc_markdown_nosmart = 'markdown-smart'
else
pandoc_markdown_nosmart = 'markdown'
endif
foreach tool : [
'adverb',
'launch',
'launcher',
'locale-gen',
'test-ui',
'try-setlocale',
'unruntime',
'wrap',
]
custom_target(
tool + '.1',
build_by_default : true,
command : [
pandoc,
'-s',
'-o', '@OUTPUT@',
'-f', pandoc_markdown_nosmart,
'-t', 'man',
'@INPUT@',
],
input : tool + '.1.md',
output : 'pressure-vessel-' + tool + '.1',
install : true,
install_dir : join_paths(
get_option('prefix'),
get_option('mandir'),
'man1',
),
)
endforeach
endif
# vim:set sw=2 sts=2 et:
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment