From 672550caac31a9cc7f1204a5466dd72f4424aec8 Mon Sep 17 00:00:00 2001
From: Darrell Anderson <humanreadable@yahoo.com>
Date: Tue, 12 Jun 2012 23:40:53 -0500
Subject: Fix 'recode' FTBFS with --enable-pdf-docs.

---
 developer-doc/phb/Makefile.am | 2 +-
 doc/en/Makefile.am            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/developer-doc/phb/Makefile.am b/developer-doc/phb/Makefile.am
index a99d2d9..1954b24 100644
--- a/developer-doc/phb/Makefile.am
+++ b/developer-doc/phb/Makefile.am
@@ -106,7 +106,7 @@ if GENERATE_PDF
 kmymoney-phb.pdf: $(DOCBOOK_FILES)
 	$(MAKE) get-files
 	$(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/phb.docbook -o index.html
-	recode utf8..latin1 index.html
+	recode utf8..latin1 index.html || :
 	html2ps -o kmymoney-phb.ps -n index.html
 	ps2pdf kmymoney-phb.ps kmymoney-phb.pdf
 	rm index.html kmymoney-phb.ps
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
index e8c5bde..8839a2f 100644
--- a/doc/en/Makefile.am
+++ b/doc/en/Makefile.am
@@ -111,7 +111,7 @@ PDF_TARGET = kmymoney-user.pdf
 kmymoney-user.pdf: $(DOCBOOK_FILES) $(SCREENSHOT_FILES)
 	$(MAKE) get-files
 	$(MEINPROC) --check --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl  $(srcdir)/index.docbook -o index.html;
-	recode utf8..latin1 index.html
+	recode utf8..latin1 index.html || :
 	html2ps -o kmymoney-user.ps -n index.html
 	ps2pdf kmymoney-user.ps kmymoney-user.pdf
 	rm index.html kmymoney-user.ps
-- 
cgit v1.2.3

