]> git.pld-linux.org Git - packages/vmtouch.git/blame - vmtouch-destdir.patch
new (version 1.3.0)
[packages/vmtouch.git] / vmtouch-destdir.patch
CommitLineData
48b4a2e3
JP
1From 1640b6b2ab924915fcad010c09717aaaf0b6377c Mon Sep 17 00:00:00 2001
2From: Earnestly <zibeon@googlemail.com>
3Date: Sun, 23 Apr 2017 15:02:00 +0100
4Subject: [PATCH] support staged installs using DESTDIR
5
6---
7 Makefile | 7 +++----
8 1 file changed, 3 insertions(+), 4 deletions(-)
9
10diff --git a/Makefile b/Makefile
11index 535138b..db484d7 100644
12--- a/Makefile
13+++ b/Makefile
14@@ -16,12 +16,11 @@ vmtouch.8: vmtouch.pod
15 pod2man --section 8 --center "System Manager's Manual" --release " " vmtouch.pod > vmtouch.8
16
17 install: vmtouch vmtouch.8
18- mkdir -p $(BINDIR) $(MANDIR)
19- install -m 0755 vmtouch $(BINDIR)/vmtouch
20- install -m 0644 vmtouch.8 $(MANDIR)/vmtouch.8
21+ install -Dm 0755 vmtouch $(DESTDIR)$(BINDIR)/vmtouch
22+ install -Dm 0644 vmtouch.8 $(DESTDIR)$(MANDIR)/vmtouch.8
23
24 clean:
25 rm -f vmtouch vmtouch.8
26
27 uninstall:
28- rm $(BINDIR)/vmtouch $(MANDIR)/vmtouch.8
29+ rm $(DESTDIR)$(BINDIR)/vmtouch $(DESTDIR)$(MANDIR)/vmtouch.8
This page took 0.06232 seconds and 4 git commands to generate.