guide: tweak font file copying rule
Add an explicit dependency on package-lock.json for copying our font files from the node_modules directory. This currently is a somewhat neutral change, but will be helpful in the very near future, when depending on package-lock.json becomes our way to populate the node_modules/ directory.
This commit is contained in:
parent
d3f51710dd
commit
06c3e3879c
|
@ -94,8 +94,9 @@ MAINTAINERCLEANFILES += \
|
|||
*.tmp \
|
||||
$(NULL)
|
||||
|
||||
dist/guide/html/%.woff2: $(srcdir)/node_modules/@redhat/redhat-font/webfonts/RedHatText/%.woff2
|
||||
$(COPY_RULE)
|
||||
dist/guide/html/%.woff2: package-lock.json
|
||||
@mkdir -p dist/guide/html
|
||||
cp -L $(top_srcdir)/node_modules/@redhat/redhat-font/webfonts/RedHatText/$(notdir $@) $@
|
||||
|
||||
dist/guide/html/index.html: $(GUIDE_DOCBOOK) $(GUIDE_INCLUDES) $(man_MANS) $(GUIDE_STATIC) $(GUIDE_XSLT) $(GUIDE_FONTS)
|
||||
$(AM_V_GEN) $(MKDIR_P) dist/guide/html/ && \
|
||||
|
|
Loading…
Reference in New Issue