[apparmor] [patch] techdoc.pdf improvements

Christian Boltz apparmor at cboltz.de
Tue May 8 19:59:11 UTC 2012


Hello,

the attached patch contains various changes in building techdoc.tex:
- make table of contents, footnotes etc. clickable hyperlinks
- use timestamp of techdoc.tex (instead of build time) as creationdate
  in the PDF metadata
- don't include build date on first page of the PDF
- make clean:
  - delete techdoc.out (created by pdftex)
  - fix deletion of techdoc.txt (was techdo_r_.txt)

The initial target was to get reproduceable PDF builds (therefore the 
timestamp-related changes), the other things came up during discussing
this patch with David Haller.

The only remaining difference in the PDF from build to build is the /ID
line.  This line can't be controlled in pdflatex and is now filtered 
out by build-compare in the openSUSE build service (bnc#760867).

Credits go to David Haller for writing large parts of this patch
(but he didn't notice the techdo_r_.txt ;-)


Signed-Off-By: Christian Boltz <apparmor at cboltz.de>




And now let me explain why bzr blame is named bzr _blame_ ;-))

# bzr blame parser/Makefile |grep techdor
1522     kees.co | 60   rm -rf techdoc.aux techdoc.log techdoc.pdf 
techdoc.toc techdor.txt techdoc/
# bzr log -r1522
------------------------------------------------------------
revno: 1522
committer: Kees Cook <kees.cook at canonical.com>
branch nick: master
timestamp: Wed 2010-11-03 17:04:43 -0700
message:
  This patch cleans up the testsuite output harder, and removes a 
  bashism in another clean target.


Kees, looks like removing bashisms is a bad idea *g,d&r*

(and I wonder nobody noticed the not-deleted techdoc.txt in "bzr st" 
output since november 2010...)


Regards,

Christian Boltz

PS: Non-random sig ;-)
-- 
[PDF] Fipptehler korrigiert -- wie konnten wir das bisher uebersehen ;)
- <xsl:if test="position()=1">Schüsselworte: </xsl:if>
+ <xsl:if test="position()=1">Schlüsselworte: </xsl:if>
[David Haller in suse-linux-faq]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-techdoc.patch
Type: text/x-patch
Size: 2506 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20120508/69edc77c/attachment.bin>


More information about the AppArmor mailing list