File: adapt-makefile-to-debian.patch

package info (click to toggle)
makedumpfile 1%3A1.7.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: ansic: 24,012; perl: 149; makefile: 110; python: 18
file content (28 lines) | stat: -rw-r--r-- 1,289 bytes parent folder | 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
From: Louis Bouchard <louis.bouchard@ubuntu.com>
Date: Mon, 17 Dec 2018 15:21:09 -0200
Subject: adapt-makefile-to-debian

===================================================================
---
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 18d3a17..114ec6b 100644
--- a/Makefile
+++ b/Makefile
@@ -128,10 +128,10 @@ clean:
 	rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8 makedumpfile.conf.5
 
 install:
-	install -m 755 -d ${DESTDIR}/${SBINDIR} ${DESTDIR}/usr/share/man/man5 ${DESTDIR}/usr/share/man/man8
-	install -m 755 -t ${DESTDIR}/${SBINDIR} makedumpfile $(VPATH)makedumpfile-R.pl
-	install -m 644 -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
-	install -m 644 -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
+
+	install -m 755 -D -t ${DESTDIR}${SBINDIR} makedumpfile $(VPATH)makedumpfile-R.pl
+	install -m 644 -D -t ${DESTDIR}/usr/share/man/man8 makedumpfile.8
+	install -m 644 -D -t ${DESTDIR}/usr/share/man/man5 makedumpfile.conf.5
 	mkdir -p ${DESTDIR}/usr/share/makedumpfile/eppic_scripts
 	install -m 644 -D $(VPATH)makedumpfile.conf ${DESTDIR}/usr/share/makedumpfile/makedumpfile.conf.sample
 	install -m 644 -t ${DESTDIR}/usr/share/makedumpfile/eppic_scripts/ $(VPATH)eppic_scripts/*