[apparmor] [patches] avoid building tech doc during build
Steve Beattie
steve at nxnw.org
Wed Nov 30 23:31:59 UTC 2016
Hi,
Attached are two alternative patches for avoiding the problem of
building the parser's techdoc during the build, which introduces
the latex stack as build dependencies for downstreams, and is also
a source of unrepeatability in the build.
The first patch adds building the documentation (including man pages)
to the tarball generation process, and thus includes the generated
files in the tarball. Assuming the time stamps work out okay (local
tests showed they did), building the documentation would be (mostly)
avoided during the build -- the exception to this is the libapparmor
man pages, as the Makefile to generate its man pages is created
as part of the configure process, which is not done as part of the
release process. An additional step that I didn't do here would be to
remove the pdf from the default build path, to ensure that it doesn't
get triggered to build.
The alternative patch removes the techdoc and the steps to build it
entirely. It has not been updated meaningfully since 2007, and no one
seems to have time to take on bringing it up to date. Furthermore,
John has created his own (unfinished) set of documentation as
{open,libre}office documents in the toplevel documentation directory.
Either patch would improve the situation for downstreams.
Opinions?
Thanks.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-build_docs_w_tarball.patch
Type: text/x-diff
Size: 4996 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161130/73d632e6/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser-delete_techdoc.patch
Type: text/x-diff
Size: 54207 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161130/73d632e6/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161130/73d632e6/attachment-0001.pgp>
More information about the AppArmor
mailing list