From aca8b7ea3ed83ef57c3d73d9234aca761e15d729 Mon Sep 17 00:00:00 2001
From: Jan Poonthong <janpoonthong628@gmail.com>
Date: Thu, 26 Aug 2021 10:23:14 +0700
Subject: [PATCH] Missing sudo on make install

I tried try `make install` on my machine and I got:
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffprobe.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-all.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffprobe-all.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-utils.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-scaler.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-resampler.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-codecs.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-bitstream-filters.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-formats.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-protocols.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-devices.1': Permission denied
   install: cannot create regular file '/usr/local/share/man/man1/ffmpeg-filters.1': Permission denied
   make: *** [doc/Makefile:126: install-man] Error 1

By doing `sudo make install` it fixs the problem. User are not on root all the time.
---
 INSTALL.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/INSTALL.md b/INSTALL.md
index 3b220bc6ff..7600fc2ce3 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -9,7 +9,7 @@ path when launching `configure`, e.g. `/ffmpegdir/ffmpeg/configure`.
 
 2. Then type `make` to build FFmpeg. GNU Make 3.81 or later is required.
 
-3. Type `make install` to install all binaries and libraries you built.
+3. Type `sudo make install` to install all binaries and libraries you built.
 
 NOTICE
 ------
-- 
2.25.1

