summaryrefslogtreecommitdiff
path: root/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.sub')
-rw-r--r--Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.sub b/Makefile.sub
index ddb18fcf..c24f2bf7 100644
--- a/Makefile.sub
+++ b/Makefile.sub
@@ -41,4 +41,5 @@ stamp-h: config.hin config.status
# Always create the site-font directory as a guide to the user.
install_data:
- -test -d $(localfontdir) || $(mkinstalldirs) $(localfontdir)
+ -test -d $(DESTDIR)$(localfontdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(localfontdir)