# HG changeset patch # User Romain PELISSE # Date 1271932760 -7200 # Node ID 9e12ed413ef94a3d1ab9ae95568b8853cd047e3a # Parent 013e09cb852fbaf73634d115ad5fdc416d6a7bf4 Fixing build, depending on installation fop config file may be missing diff -r 013e09cb852f -r 9e12ed413ef9 Makefile --- a/Makefile Wed Apr 21 17:26:00 2010 +0200 +++ b/Makefile Thu Apr 22 12:39:20 2010 +0200 @@ -213,7 +213,11 @@ stylesheets/$(LINGUA)/fo.xsl \ fop1.extensions=1 - (cd build/$(LINGUA)/source && $(FOP_HOME)/fop.sh -c $(FOP_HOME)/conf/userconfig.xml hgbook.fo ../pdf/hgbook.pdf) + if test -r $(FOP_HOME)/conf/userconfig.xml ; then \ + FOP_CONFIG=" -c $(FOP_HOME)/conf/userconfig.xml"; \ + fi + + (cd build/$(LINGUA)/source && $(FOP_HOME)/fop.sh ${FOP_CONFIG} hgbook.fo ../pdf/hgbook.pdf) endif $(LINGUA)/figs/%.png: $(LINGUA)/figs/%.svg