aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp.mk.in
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2017-09-19 14:34:27 +0200
committerLars Thorsen <[email protected]>2017-09-21 09:13:37 +0200
commit16ca09ed823ba1c19c4a5ca28b9c801a6f53b895 (patch)
tree7e82a6b7ce0d5b4527bdb018faaaaac784132530 /make/otp.mk.in
parentf150c21029477836fb4b533ee02290d5b6bcc818 (diff)
downloadotp-16ca09ed823ba1c19c4a5ca28b9c801a6f53b895.tar.gz
otp-16ca09ed823ba1c19c4a5ca28b9c801a6f53b895.tar.bz2
otp-16ca09ed823ba1c19c4a5ca28b9c801a6f53b895.zip
Fix fop font-cache handling during pdf build
Two parallell doc builds running fop (as same user) could both update the fop font-cache at the same time. The cache is now created as an artifact in the build process.
Diffstat (limited to 'make/otp.mk.in')
-rw-r--r--make/otp.mk.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in
index 83bab7065d..b06c51d0fb 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -138,7 +138,7 @@ endif
#
.PRECIOUS: %.erl %.fo
-## Uncomment these lines and add .idl to suffixes above to have erlc
+## Uncomment these lines and add .idl to suffixes above to have erlc
## eat IDL files
##$(EGEN)/%.erl: $(ESRC)/%.idl
## $(ERLC) $(IDL_FLAGS) $<
@@ -238,7 +238,7 @@ ifeq ($(PDFCOLOR),)
PDFCOLOR = \#960003
endif
-# HTML & GIF files that always are generated and must be delivered
+# HTML & GIF files that always are generated and must be delivered
SGML_COLL_FILES = $(SGML_APPLICATION_FILES) $(SGML_PART_FILES)
XML_COLL_FILES = $(XML_APPLICATION_FILES) $(XML_PART_FILES)
DEFAULT_HTML_FILES = \
@@ -326,5 +326,4 @@ $(MAN9DIR)/%.9: %.xml
escript $(DOCGEN)/priv/bin/codeline_preprocessing.escript $< $@
.fo.pdf:
- $(FOP) -c $(FOP_CONFIG) -fo $< -pdf $@
-
+ $(FOP) -c $(FOP_CONFIG) -cache $(ERL_TOP)/make/$(TARGET)/fop-fonts.cache -fo $< -pdf $@