Source

hgbook / Makefile

Diff from to

File Makefile

 	    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