summaryrefslogtreecommitdiff
path: root/japanese/groff/files/patch-contrib-pic2graph-Makefile.sub
blob: 590bebf70aaa839a4d7fdeef05a4b1f816f04502 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- contrib/pic2graph/Makefile.sub.orig	2014-02-07 14:14:41.000000000 +0900
+++ contrib/pic2graph/Makefile.sub	2014-02-07 14:15:01.000000000 +0900
@@ -11,9 +11,9 @@
 	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