build: use --output option for rst2man
Apparently, the separate destination argument was deprecated years ago and will be removed soon*. Just switch to the "new" way of specifiying the output. Fixes #18283. https://sourceforge.net/p/docutils/feature-requests/36/#0709
This commit is contained in:
1 parent
74356c0fc6
commit
56b6200986
1 file changed
+1
-1
+1
-1
@@ -1712,7 +1712,7 @@ if rst2man.found()
|
|||||||
docutils_wrapper, rst2man,
|
docutils_wrapper, rst2man,
|
||||||
'--record-dependencies', '@DEPFILE@',
|
'--record-dependencies', '@DEPFILE@',
|
||||||
'--strip-elements-with-class=contents',
|
'--strip-elements-with-class=contents',
|
||||||
'@INPUT@', '@OUTPUT@'],
|
'--output=@OUTPUT@', '@INPUT@'],
|
||||||
depfile: 'mpv.1.dep',
|
depfile: 'mpv.1.dep',
|
||||||
install: true,
|
install: true,
|
||||||
install_tag: 'man',
|
install_tag: 'man',
|
||||||
|
|||||||
Reference in new issue
Block a user