Package: harden-doc Severity: wishlist Tags: patch
If something goes wrong in call to howto-source/Makefile:, there is a message: debiandoc2latexps -l fr securing-debian-howto.fr.sgml debiandoc2latexps: WARNING: overwriting securing-debian-howto.fr.tex debiandoc2latexps: WARNING: overwriting securing-debian-howto.fr.dvi debiandoc2latexps: ERROR: securing-debian-howto.fr.dvi could not be generated properly debiandoc2latexps: rerun with the -v option to found out why The patch adds *FLAGS variables so that the "-v" option can be set during a call to "make" and the Makefile need not be modified by hand to insert "-v". After the patch, this is possible: make -C howto-source DEBIANDOC2LATEXPS_FLAGS=-v EXTS="txt ps pdf" LANGS="en de fr" =========================== -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
>From c6899ed8a7a2ba22d2e02a0a3955e7117010aceb Mon Sep 17 00:00:00 2001 From: Jari Aalto <jari.aa...@cante.net> Date: Sun, 2 May 2010 09:26:38 +0300 Subject: [PATCH] howto-source/Makefile: add <program>_FLAGS to all debiandoc2*() calls Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto <jari.aa...@cante.net> --- howto-source/Makefile | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/howto-source/Makefile b/howto-source/Makefile index f8022d9..da6cacc 100644 --- a/howto-source/Makefile +++ b/howto-source/Makefile @@ -144,18 +144,18 @@ $(MANUAL).%.html.stamp: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) # TXT $(MANUAL).%.txt: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) - debiandoc2text -l $(locale) $< + debiandoc2text $(DEBIANDOC2TEXT_FLAGS) -l $(locale) $< # PS $(MANUAL).%.ps: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) - debiandoc2latexps -l $(locale) $< + debiandoc2latexps $(DEBIANDOC2LATEXPS_FLAGS) -l $(locale) $< # PDF $(MANUAL).%.pdf: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) - debiandoc2latexpdf -l $(locale) $< + debiandoc2latexpdf $(DEBIANDOC2LATEXPDF_FLAGS) -l $(locale) $< # DVI -- 1.7.0