aboutsummaryrefslogtreecommitdiff
path: root/textproc/rman/files/patch-Makefile
blob: ffd3f99de58d3ed23eb57ecf3a4a29f82eb62587 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.orig	2014-06-11 17:51:49.106250664 +0800
+++ Makefile	2014-06-11 17:52:29.988257646 +0800
@@ -113,10 +113,8 @@ prof:
 
 install: rman
 #	$(INSTALL) -s rman $(BINDIR)
-	$(RM) -f $(BINDIR)/rman
-	$(CP) rman $(BINDIR)
-	$(RM) -f $(MANDIR)/rman.1
-	$(CP) rman.1 $(MANDIR)
+	$(CP) rman $(DESTDIR)$(BINDIR)
+	$(CP) rman.1 $(DESTDIR)$(MANDIR)
 
 # test version includes assertions
 #	ginstall rman $(BINDIR)/`arch`