summaryrefslogtreecommitdiff
path: root/Makefile.sub
diff options
context:
space:
mode:
authorwl <wl>2006-02-26 14:03:25 +0000
committerwl <wl>2006-02-26 14:03:25 +0000
commit91a4472253fff23acf3a902d64d43d27d7ffcb5d (patch)
tree0bb472cd6187af258c810dbead72bc3c45bbf75e /Makefile.sub
parentc0bef9e6a3c29f5ce6984e042deabbd0c265c50d (diff)
downloadgroff-91a4472253fff23acf3a902d64d43d27d7ffcb5d.tar.gz
* Makefile.in: Add comment about DESTDIR.
* Makefile.sub: Add DESTDIR to install and uninstall targets to support staged installations. * Makefile.comm: Likewise. * doc/Makefile.sub: Likewise. * contrib/eqn2graph/Makefile.sub: Likewise. * contrib/gdiffmk/Makefile.sub: Likewise. * contrib/grap2graph/Makefile.sub: Likewise. * contrib/pic2graph/Makefile.sub: Likewise. * src/devices/xditview/Makefile.sub: Likewise. * src/preproc/eqn/Makefile.sub: Likewise. * src/roff/grog/Makefile.sub: Likewise. * src/roff/nroff/Makefile.sub: Likewise. * src/utils/afmtodit/Makefile.sub: Likewise. * src/utils/indxbib/Makefile.sub: Likewise. * tmac/Makefile.sub: Likewise.
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)