diff options
author | Cyril Brulebois <kibi@debian.org> | 2023-02-15 21:54:38 +0100 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2023-02-15 21:54:38 +0100 |
commit | 2e30101b020ec010685ab8dc8e1012f0509ac473 (patch) | |
tree | 9c0e1b1e911d5097ba951f24f2f70f1b446b315a /debian/rules | |
parent | b116c4133413cc7d6cc35068ee194b2bbb8632ef (diff) | |
download | installation-guide-2e30101b020ec010685ab8dc8e1012f0509ac473.zip |
rules: Avoid “Fontconfig error: No writable cache directories”.
Those are seen during PDF generation in chroots. To avoid them, set HOME
to a writable location, inside the build tree.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 398804d67..5a924af28 100755 --- a/debian/rules +++ b/debian/rules @@ -18,13 +18,16 @@ endif export FORCE_SOURCE_DATE=1 +# Avoid “Fontconfig error: No writable cache directories” in chroots: +export HOME=$(CURDIR)/debian/fake-home + MANTMP=$(shell pwd)/debian/manual clean: dh_testdir dh_testroot dh_clean build-stamp - rm -rf $(MANTMP) + rm -rf $(MANTMP) $(CURDIR)/debian/fake-home dh_clean doc-base-stamp rm -rf debian/installation-guide-*.doc-base.* rm -rf build/build.out* build/build.tmp* build/build.po |