Create directories before compiling templates. I do not understand why this isn't a problem for Jenkins.

This commit is contained in:
Rob Kendrick (humdrum) 2012-11-06 14:56:30 +00:00
parent 2385f8269a
commit b736ea73d4
1 changed files with 1 additions and 0 deletions

View File

@ -485,6 +485,7 @@ CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT)
define compile_template
!NetSurf/Resources/$(1)/Templates$$(TPLEXT): $(2)
$$(VQ)echo "TEMPLATE: $(2)"
$$(Q)mkdir -p !NetSurf/Resources/$(1)
$$(Q)$$(CC) -x c -E -P $$(CFLAGS) $(2) | $$(CCRES) - $$@
CLEAN_TEMPLATES += !NetSurf/Resources/$(1)/Templates$$(TPLEXT)