hgbook

changeset 1029:9e12ed413ef9

Fixing build, depending on installation fop config file may be missing
author Romain PELISSE <belaran@gmail.com>
date Thu Apr 22 12:39:20 2010 +0200 (2010-04-22)
parents 013e09cb852f
children 2ac31ea48a3d
files Makefile
line diff
     1.1 --- a/Makefile	Wed Apr 21 17:26:00 2010 +0200
     1.2 +++ b/Makefile	Thu Apr 22 12:39:20 2010 +0200
     1.3 @@ -213,7 +213,11 @@
     1.4  	    stylesheets/$(LINGUA)/fo.xsl \
     1.5  	    fop1.extensions=1
     1.6  
     1.7 -	(cd build/$(LINGUA)/source && $(FOP_HOME)/fop.sh -c $(FOP_HOME)/conf/userconfig.xml hgbook.fo ../pdf/hgbook.pdf)
     1.8 +	if test -r $(FOP_HOME)/conf/userconfig.xml ; then \
     1.9 +		FOP_CONFIG=" -c $(FOP_HOME)/conf/userconfig.xml"; \
    1.10 +	fi 
    1.11 +
    1.12 +	(cd build/$(LINGUA)/source && $(FOP_HOME)/fop.sh ${FOP_CONFIG} hgbook.fo ../pdf/hgbook.pdf)
    1.13  endif
    1.14  
    1.15  $(LINGUA)/figs/%.png: $(LINGUA)/figs/%.svg