Package: super / 3.30.0-7

09-Makefile-srcdir.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Robert Luberda <robert@debian.org>
Date: Sat, 19 Feb 2011 08:54:00 +0100
Subject: 09 Makefile srcdir.

Use $(srcdir) if needed.
---
 Makefile.in | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 87a615a..1095617 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -193,22 +193,22 @@ install: install-bin install-man
 
 
 install-bin: super setuid
-	./mkdir_p -p755 $(DESTDIR)/$(BINDIR)
-	./mkdir_p -p755 $(DESTDIR)/$(localstatedir)
-	./mkdir_p -p755 $(DESTDIR)/$(sysconfdir)
-	./install-sh -c -o root -m 04755 super $(DESTDIR)/$(BINDIR)/super
-	./install-sh -c -o root -m  0755 setuid $(DESTDIR)/$(BINDIR)/setuid
+	$(srcdir)/mkdir_p -p755 $(DESTDIR)/$(BINDIR)
+	$(srcdir)/mkdir_p -p755 $(DESTDIR)/$(localstatedir)
+	$(srcdir)/mkdir_p -p755 $(DESTDIR)/$(sysconfdir)
+	$(srcdir)/install-sh -c -o root -m 04755 super $(DESTDIR)/$(BINDIR)/super
+	$(srcdir)/install-sh -c -o root -m  0755 setuid $(DESTDIR)/$(BINDIR)/setuid
 	test -f $(DESTDIR)/$(sysconfdir)/super.tab && \
 	    echo "Not overwriting existing file $(DESTDIR)/$(sysconfdir)/super.tab" || \
-	    ./install-sh -c -o root -m  0644 barebones.tab \
+	    $(srcdir)/install-sh -c -o root -m  0644 $(srcdir)/barebones.tab \
 		$(DESTDIR)/$(sysconfdir)/super.tab
 
 install-man: super.1 setuid.1 super.5
-	./install-sh -c -o root -m  0644 super.1 \
+	$(srcdir)/install-sh -c -o root -m  0644 super.1 \
 		$(DESTDIR)/$(MAN1DIR)/super.$(MAN1EXT)
-	./install-sh -c -o root -m  0644 setuid.1 \
+	$(srcdir)/install-sh -c -o root -m  0644 setuid.1 \
 		$(DESTDIR)/$(MAN1DIR)/setuid.$(MAN1EXT)
-	./install-sh -c -o root -m  0644 super.5 \
+	$(srcdir)/install-sh -c -o root -m  0644 super.5 \
 		$(DESTDIR)/$(MAN_FORMAT_DIR)/super.$(MAN_FORMAT_EXT)
 
 clean: