1
Use install instead of cp in Makefile
3
This patch also changes the install target to copy the uncompressed man
4
page, so that dh_compress can compress it according to policy.
6
diff --git a/Makefile b/Makefile
7
index e6ad925..eae1deb 100644
10
@@ -39,7 +39,7 @@ clean:
11
rm -f $(OBJ) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz
14
- cp makedumpfile ${DESTDIR}/bin
15
- cp makedumpfile-R.pl ${DESTDIR}/bin
16
- cp makedumpfile.8.gz ${DESTDIR}/usr/share/man/man8
17
+ install -D -m755 ./makedumpfile ${DESTDIR}/usr/bin/makedumpfile
18
+ install -D -m755 ./makedumpfile-R.pl ${DESTDIR}/usr/bin/makedumpfile-R.pl
19
+ install -D -m755 ./makedumpfile.8 ${DESTDIR}/usr/share/man/man8/makedumpfile.8