Source

hgbook / Makefile

Diff from to
 FORMATS=html html-single pdf epub
 
 PO_LANGUAGES := zh
-DBK_LANGUAGES := en it fr
+DBK_LANGUAGES := en fr it
 LANGUAGES := $(DBK_LANGUAGES) $(PO_LANGUAGES)
 
 UPDATEPO = PERLLIB=$(PO4A_LIB) $(PO4A_HOME)/po4a-updatepo -M UTF-8 \
 
 	if test -r $(FOP_HOME)/conf/userconfig.xml ; then \
 		FOP_CONFIG=" -c $(FOP_HOME)/conf/userconfig.xml"; \
-	fi 
+    else \
+        echo "Waring: file $(FOP_HOME)/conf/userconfig.xml does not exist"; \
+    fi
 
 	(cd build/$(LINGUA)/source && $(FOP_HOME)/fop.sh ${FOP_CONFIG} hgbook.fo ../pdf/hgbook.pdf)
 endif
 
-$(LINGUA)/figs/%.png: $(LINGUA)/figs/%.svg 
+$(LINGUA)/figs/%.png: $(LINGUA)/figs/%.svg
 	if test -x $(LINGUA)/fixsvg; then \
 	  $(LINGUA)/fixsvg $<; \
 	  inkscape -D -d 120 -e $@ $<-tmp.svg; \