summaryrefslogtreecommitdiff
path: root/app-text/vgrep/files/vgrep-2.5.0-remove-sudo.patch
blob: 25764d199b450ffe1a5a144b87a57a177046a037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://github.com/vrothberg/vgrep/issues/130

--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,8 @@ install: install-docs
 
 .PHONY: install-docs
 install-docs: docs
-	sudo cp docs/*.1 ${MAN_DIR}/man1/
+	mkdir -p ${MAN_DIR}/man1/
+	cp docs/*.1 ${MAN_DIR}/man1/
 
 .PHONY: uninstall
 uninstall: