[SCM] live-manual branch, debian, updated. debian/2.0_a12-1-49-gf36c6ca

Ben Armstrong synrg at debian.org
Sat Dec 11 16:55:25 UTC 2010


The following commit has been merged in the debian branch:
commit f36c6cad8a0f282caf3b0ceec4bf8162b6855bc7
Author: Ben Armstrong <synrg at debian.org>
Date:   Sat Dec 11 12:55:11 2010 -0400

    Adding debug levels 1 and 2 for debugging po4a issues.

diff --git a/manual/Makefile b/manual/Makefile
index ff0d6cf..356e21a 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -4,6 +4,17 @@ SHELL := sh -e
 
 LANGUAGES = $(shell cd po && ls)
 
+DEBUG=0
+PO4A_FLAGS=
+
+ifeq ($(DEBUG),1)
+    PO4A_FLAGS=-d
+endif
+
+ifeq ($(DEBUG),2)
+    PO4A_FLAGS=-d -v
+endif
+
 all: build
 
 po4a.cfg:
@@ -29,7 +40,7 @@ build: po4a.cfg
 		exit 1; \
 	fi
 
-	po4a --keep 0 --no-backups --package-name live-manual po4a.cfg
+	po4a --keep 0 --no-backups --package-name live-manual $(PO4A_FLAGS) po4a.cfg
 
 	for LANGUAGE in $(LANGUAGES); \
 	do \

-- 
live-manual



More information about the debian-live-changes mailing list