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