summaryrefslogtreecommitdiff
path: root/contrib/eqn2graph
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/eqn2graph')
-rw-r--r--contrib/eqn2graph/Makefile.sub8
1 files changed, 4 insertions, 4 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