--- youtube_dl/options.py.orig	2018-07-03 17:29:01.000000000 -0500
+++ youtube_dl/options.py	2018-07-10 01:01:43.000000000 -0500
@@ -899,7 +899,7 @@
         elif '--ignore-config' in command_line_conf:
             pass
         else:
-            system_conf = _readOptions('/etc/youtube-dl.conf')
+            system_conf = _readOptions('@PREFIX@/etc/youtube-dl.conf')
             if '--ignore-config' not in system_conf:
                 user_conf = _readUserConf()
 
--- README.md.orig	2018-07-09 14:09:50.000000000 -0500
+++ README.md	2018-07-10 01:04:24.000000000 -0500
@@ -78,7 +78,7 @@
                                      this is not possible instead of searching.
     --ignore-config                  Do not read configuration files. When given
                                      in the global configuration file
-                                     /etc/youtube-dl.conf: Do not read the user
+                                     @PREFIX@/etc/youtube-dl.conf: Do not read the user
                                      configuration in ~/.config/youtube-
                                      dl/config (%APPDATA%/youtube-dl/config.txt
                                      on Windows)
@@ -442,7 +442,7 @@
 
 # CONFIGURATION
 
-You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux and macOS, the system wide configuration file is located at `/etc/youtube-dl.conf` and the user wide configuration file at `~/.config/youtube-dl/config`. On Windows, the user wide configuration file locations are `%APPDATA%\youtube-dl\config.txt` or `C:\Users\<user name>\youtube-dl.conf`. Note that by default configuration file may not exist so you may need to create it yourself.
+You can configure youtube-dl by placing any supported command line option to a configuration file. On Linux and macOS, the system wide configuration file is located at `@PREFIX@/etc/youtube-dl.conf` and the user wide configuration file at `~/.config/youtube-dl/config`. On Windows, the user wide configuration file locations are `%APPDATA%\youtube-dl\config.txt` or `C:\Users\<user name>\youtube-dl.conf`. Note that by default configuration file may not exist so you may need to create it yourself.
 
 For example, with the following configuration file youtube-dl will always extract the audio, not copy the mtime, use a proxy and save all videos under `Movies` directory in your home directory:
 ```
--- youtube-dl.1.orig	2018-07-09 14:10:21.000000000 -0500
+++ youtube-dl.1	2018-07-10 01:04:39.000000000 -0500
@@ -81,7 +81,7 @@
 .TP
 .B \-\-ignore\-config
 Do not read configuration files.
-When given in the global configuration file /etc/youtube\-dl.conf: Do
+When given in the global configuration file @PREFIX@/etc/youtube\-dl.conf: Do
 not read the user configuration in ~/.config/youtube\- dl/config
 (%APPDATA%/youtube\-dl/config.txt on Windows)
 .RS
@@ -922,7 +922,7 @@
 You can configure youtube\-dl by placing any supported command line
 option to a configuration file.
 On Linux and macOS, the system wide configuration file is located at
-\f[C]/etc/youtube\-dl.conf\f[] and the user wide configuration file at
+\f[C]@PREFIX@/etc/youtube\-dl.conf\f[] and the user wide configuration file at
 \f[C]~/.config/youtube\-dl/config\f[].
 On Windows, the user wide configuration file locations are
 \f[C]%APPDATA%\\youtube\-dl\\config.txt\f[] or