summaryrefslogtreecommitdiff
path: root/contrib
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 /contrib
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 'contrib')
-rw-r--r--contrib/eqn2graph/Makefile.sub8
-rw-r--r--contrib/gdiffmk/Makefile.sub8
-rw-r--r--contrib/grap2graph/Makefile.sub8
-rw-r--r--contrib/pic2graph/Makefile.sub8
4 files changed, 16 insertions, 16 deletions
diff --git a/contrib/eqn2graph/Makefile.sub b/contrib/eqn2graph/Makefile.sub
index 6ccdd982..2565f5a6 100644
--- a/contrib/eqn2graph/Makefile.sub
+++ b/contrib/eqn2graph/Makefile.sub
@@ -11,9 +11,9 @@ eqn2graph: eqn2graph.sh
chmod +x $@
install_data: eqn2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/eqn2graph
- $(INSTALL_SCRIPT) eqn2graph $(bindir)/eqn2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/eqn2graph
+ $(INSTALL_SCRIPT) eqn2graph $(DESTDIR)$(bindir)/eqn2graph
uninstall_sub:
- -rm -f $(bindir)/eqn2graph
+ -rm -f $(DESTDIR)$(bindir)/eqn2graph
diff --git a/contrib/gdiffmk/Makefile.sub b/contrib/gdiffmk/Makefile.sub
index 5e0cd147..ae2ba945 100644
--- a/contrib/gdiffmk/Makefile.sub
+++ b/contrib/gdiffmk/Makefile.sub
@@ -39,9 +39,9 @@ gdiffmk: gdiffmk.sh
chmod +x $@
install_data: gdiffmk
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/gdiffmk
- $(INSTALL_SCRIPT) gdiffmk $(bindir)/gdiffmk
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/gdiffmk
+ $(INSTALL_SCRIPT) gdiffmk $(DESTDIR)$(bindir)/gdiffmk
uninstall_sub:
- -rm -f $(bindir)/gdiffmk
+ -rm -f $(DESTDIR)$(bindir)/gdiffmk
diff --git a/contrib/grap2graph/Makefile.sub b/contrib/grap2graph/Makefile.sub
index 5527618e..3089a447 100644
--- a/contrib/grap2graph/Makefile.sub
+++ b/contrib/grap2graph/Makefile.sub
@@ -11,9 +11,9 @@ grap2graph: grap2graph.sh
chmod +x $@
install_data: grap2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/grap2graph
- $(INSTALL_SCRIPT) grap2graph $(bindir)/grap2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/grap2graph
+ $(INSTALL_SCRIPT) grap2graph $(DESTDIR)$(bindir)/grap2graph
uninstall_sub:
- -rm -f $(bindir)/grap2graph
+ -rm -f $(DESTDIR)$(bindir)/grap2graph
diff --git a/contrib/pic2graph/Makefile.sub b/contrib/pic2graph/Makefile.sub
index d01a4353..51b71400 100644
--- a/contrib/pic2graph/Makefile.sub
+++ b/contrib/pic2graph/Makefile.sub
@@ -11,9 +11,9 @@ pic2graph: pic2graph.sh
chmod +x $@
install_data: pic2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/pic2graph
- $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/pic2graph
+ $(INSTALL_SCRIPT) pic2graph $(DESTDIR)$(bindir)/pic2graph
uninstall_sub:
- -rm -f $(bindir)/pic2graph
+ -rm -f $(DESTDIR)$(bindir)/pic2graph