summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
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