diff --git a/parser/Makefile b/parser/Makefile index c5b55d558..0a3122680 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -118,7 +118,8 @@ po/${NAME}.pot: ${SRCS} ${HDRS} $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${SRCS} ${HDRS}" techdoc.pdf: techdoc.tex - while pdflatex $< ${BUILD_OUTPUT} || exit 1 ; \ + timestamp=$(shell date "+%Y%m%d%H%M%S+02'00'" -r $< );\ + while pdflatex "\def\fixedpdfdate{$$timestamp}\input $<" ${BUILD_OUTPUT} || exit 1 ; \ grep -q "Label(s) may have changed" techdoc.log; \ do :; done @@ -302,7 +303,7 @@ clean: _clean rm -f $(NAME)*.tar.gz $(NAME)*.tgz rm -f af_names.h rm -f cap_names.h - rm -rf techdoc.aux techdoc.log techdoc.pdf techdoc.toc techdor.txt techdoc/ + rm -rf techdoc.aux techdoc.out techdoc.log techdoc.pdf techdoc.toc techdoc.txt techdoc/ $(MAKE) -s -C $(AAREDIR) clean $(MAKE) -s -C po clean $(MAKE) -s -C tst clean diff --git a/parser/techdoc.tex b/parser/techdoc.tex index d7e4f9180..024e898e6 100644 --- a/parser/techdoc.tex +++ b/parser/techdoc.tex @@ -5,6 +5,17 @@ \usepackage{url} %\usepackage{times} +\usepackage[pdftex, + pdfauthor={Andreas Gruenbacher and Seth Arnold}, + pdftitle={AppArmor Technical Documentation},% +\ifx\fixedpdfdate\@empty\else + pdfcreationdate={\fixedpdfdate}, + pdfmoddate={\fixedpdfdate}, +\fi + pdfsubject={AppArmor}, + pdfkeywords={AppArmor} +]{hyperref} + \hyphenation{App-Armor} \hyphenation{name-space} @@ -14,7 +25,8 @@ \author{Andreas Gruenbacher and Seth Arnold \\ \url{{agruen,seth.arnold}@suse.de} \\ SUSE Labs / Novell} -%\date{} +% don't include the (build!) date +\date{} \begin{document}