summarylogtreecommitdiffstats
path: root/Makefile-DESTDIR.patch
diff options
context:
space:
mode:
authorandy59952021-07-08 00:32:50 -0500
committerandy59952021-07-08 00:32:50 -0500
commit9b515e97b1a56dd9e7abe4e39f904898cb794b62 (patch)
tree7acd00c8b57a7ba194386f23e2028aa3dd115e0c /Makefile-DESTDIR.patch
downloadaur-multimail.tar.gz
initial commit
Diffstat (limited to 'Makefile-DESTDIR.patch')
-rw-r--r--Makefile-DESTDIR.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile-DESTDIR.patch b/Makefile-DESTDIR.patch
new file mode 100644
index 000000000000..597de2ec04a2
--- /dev/null
+++ b/Makefile-DESTDIR.patch
@@ -0,0 +1,14 @@
+21,22d20
+< PREFIX = /usr/local
+<
+75c73
+< HELPDIR = $(PREFIX)/man/man1
+---
+> HELPDIR = $(DESTDIR)/share/man/man1
+109,111c107,108
+< install -c -s mm $(PREFIX)/bin
+< install -c -m 644 mm.1 $(HELPDIR)
+< $(RM) $(HELPDIR)/mmail.1
+---
+> install -D -s mm -t $(DESTDIR)/bin
+> install -D -m 644 mm.1 -t $(HELPDIR)