From af2ad236f037c7a53e73b9454f620de1a52f0422 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Tue, 11 Apr 2006 05:08:26 +0000 Subject: [PATCH] Survive missing docbook2pdf. reviewed by: plam --- ChangeLog | 11 +++++++++-- doc/Makefile.am | 10 ++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index badffff..145ddee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,18 @@ -2006-04-07 Patrick Lam +2006-04-11 Behdad Esfahbod + reviewed by: plam + + * doc/Makefile.am: + + Survive missing docbook2pdf. + +2006-04-10 Patrick Lam * fc-case/fc-case.c: * fc-glyphname/fc-glyphname.c: * fc-lang/fc-lang.c: Include more stub definitions to make HP-UX's C compiler happy. -2006-04-07 Patrick Lam +2006-04-10 Patrick Lam * src/fcname.c (FcObjectUnserialize): Swap typo in order of ALIGN and dereferencing, fixing bug 6529. diff --git a/doc/Makefile.am b/doc/Makefile.am index 10450b1..3477eb7 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -142,8 +142,9 @@ fontconfig-devel.txt: local-fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml fontconfig-devel.pdf: local-fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml confdir.sgml $(RM) $@ - $(DOC2PDF) local-fontconfig-devel.sgml - mv local-fontconfig-devel.pdf $@ + ../missing --run $(DOC2PDF) $< && mv local-$@ $@ \ + || echo Failed to generate $@ >&2; \ + (test -f $@ || echo $(DOC2PDF) is required to generate this file >> $@) fontconfig-user.html: local-fontconfig-user.sgml version.sgml confdir.sgml $(RM) $@ local-$@ $@.tmp @@ -159,8 +160,9 @@ fontconfig-user.txt: local-fontconfig-user.sgml version.sgml confdir.sgml fontconfig-user.pdf: local-fontconfig-user.sgml version.sgml confdir.sgml $(RM) $@ - $(DOC2PDF) local-fontconfig-user.sgml - mv local-fontconfig-user.pdf $@ + ../missing --run $(DOC2PDF) $< && mv local-$@ $@ \ + || echo Failed to generate $@ >&2; \ + (test -f $@ || echo $(DOC2PDF) is required to generate this file >> $@) STRIPNL=awk '{ if (NR > 1) printf ("\n"); printf ("%s", $$0); }' confdir.sgml: ${DOC_SRC}/confdir.sgml.in -- 2.39.2