Add the relative path for <include> to fonts.conf if the parent path is same to fonts.conf
Bug 69836 - fonts.conf.in update for Windows cross-compiling
This commit is contained in:
parent
96c5f3cf0f
commit
9161ed1e4a
|
@ -90,12 +90,14 @@ $(srcdir)/ChangeLog:
|
|||
|
||||
.PHONY: ChangeLog
|
||||
|
||||
FC_CONFIGDIR = $(subst $(BASECONFIGDIR)/,,$(CONFIGDIR))
|
||||
|
||||
fonts.conf: fonts.conf.in Makefile
|
||||
sed \
|
||||
-e 's,@FC_CACHEDIR\@,$(FC_CACHEDIR),g' \
|
||||
-e 's,@FC_DEFAULT_FONTS\@,$(FC_DEFAULT_FONTS),g' \
|
||||
-e 's,@FC_FONTPATH\@,$(FC_FONTPATH),g' \
|
||||
-e 's,@CONFIGDIR\@,$(CONFIGDIR),g' \
|
||||
-e 's,@CONFIGDIR\@,$(FC_CONFIGDIR),g' \
|
||||
-e 's,@PACKAGE\@,$(PACKAGE),g' \
|
||||
-e 's,@VERSION\@,$(VERSION),g' \
|
||||
$(srcdir)/$@.in > $@.tmp && \
|
||||
|
|
Loading…
Reference in New Issue