wla-dx: fix installation of doc files, and add TODO

This commit is contained in:
Dean Matzkov 2019-02-03 19:06:50 -07:00
parent 49626c7d6c
commit 5be65ad2d9
2 changed files with 6 additions and 2 deletions

View File

@ -27,9 +27,8 @@ do-install:
. for f in ${WLADX_BINARIES}
${INSTALL_PROGRAM} ${WRKSRC}/binaries/${f} ${DESTDIR}${PREFIX}/bin
. endfor
# Yes, even the manual pages require textproc/py-sphinx.
. if !empty(PKG_OPTIONS:Mdoc)
. for f in binaries/doc/{wla-dx.txt,wla-dx.html} FILE_FORMATS CHANGELOG
. for f in binaries/doc/wla-dx.txt binaries/doc/wla-dx.html FILE_FORMATS CHANGELOG
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
. endfor
. for f in binaries/doc/*.1

5
wla-dx/TODO Normal file
View File

@ -0,0 +1,5 @@
- If the `doc' option is set, documentation might not get built if
textproc/py-sphinx was installed without pkg_alternatives.
The build system may need to be patched to look for sphinx-build${VER},
rather than only sphinx-build.