diff options
Diffstat (limited to 'recipes-security/AppArmor/files/disable_pdf.patch')
| -rw-r--r-- | recipes-security/AppArmor/files/disable_pdf.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-security/AppArmor/files/disable_pdf.patch b/recipes-security/AppArmor/files/disable_pdf.patch new file mode 100644 index 0000000..c6b4bdd --- /dev/null +++ b/recipes-security/AppArmor/files/disable_pdf.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | Index: apparmor-2.10.95/parser/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- apparmor-2.10.95.orig/parser/Makefile | ||
| 4 | +++ apparmor-2.10.95/parser/Makefile | ||
| 5 | @@ -139,17 +139,6 @@ export Q VERBOSE BUILD_OUTPUT | ||
| 6 | po/${NAME}.pot: ${SRCS} ${HDRS} | ||
| 7 | $(MAKE) -C po ${NAME}.pot NAME=${NAME} SOURCES="${SRCS} ${HDRS}" | ||
| 8 | |||
| 9 | -techdoc.pdf: techdoc.tex | ||
| 10 | - timestamp=$(shell date --utc "+%Y%m%d%H%M%S%z" -r $< );\ | ||
| 11 | - while pdflatex "\def\fixedpdfdate{$$timestamp}\input $<" ${BUILD_OUTPUT} || exit 1 ; \ | ||
| 12 | - grep -q "Label(s) may have changed" techdoc.log; \ | ||
| 13 | - do :; done | ||
| 14 | - | ||
| 15 | -techdoc/index.html: techdoc.pdf | ||
| 16 | - latex2html -show_section_numbers -split 0 -noinfo -nonavigation -noaddress techdoc.tex ${BUILD_OUTPUT} | ||
| 17 | - | ||
| 18 | -techdoc.txt: techdoc/index.html | ||
| 19 | - w3m -dump $< > $@ | ||
| 20 | |||
| 21 | # targets arranged this way so that people who don't want full docs can | ||
| 22 | # pick specific targets they want. | ||
| 23 | @@ -159,9 +148,7 @@ manpages: $(MANPAGES) | ||
| 24 | |||
| 25 | htmlmanpages: $(HTMLMANPAGES) | ||
| 26 | |||
| 27 | -pdf: techdoc.pdf | ||
| 28 | - | ||
| 29 | -docs: manpages htmlmanpages pdf | ||
| 30 | +docs: manpages htmlmanpages | ||
| 31 | |||
| 32 | indep: docs | ||
| 33 | $(Q)$(MAKE) -C po all | ||
