Browse Source

Fix #44: Update project homepage with new build instructions

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 years ago
parent
commit
b610d82469
1 changed files with 19 additions and 2 deletions
  1. 19
    2
      index.html

+ 19
- 2
index.html View File

@@ -68,8 +68,25 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE</p>
68 68
 
69 69
 <h3>
70 70
 <a id="manual" class="anchor" href="#manual" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Manual</h3>
71
-
72
-<p><code>make &amp;&amp; make install</code></p>
71
+<p>We recommended downloading a versioned tarball from the relases page
72
+  on GitHub. Download and untar the archive:
73
+  </p>
74
+<pre>
75
+tar xf light-x.yy.tar.gz
76
+cd light-x.yy/
77
+./configure && make
78
+sudo make install
79
+</pre>
80
+<p>However, should you want to try the latest GitHub source you first
81
+need to clone the repository and run the autogen.sh script. This
82
+requires automake and autoconf to be installed on your system.</p>
83
+<pre>
84
+./autogen.sh
85
+./configure && make
86
+sudo make install
87
+</pre>
88
+<p>The configure script and Makefile.in files are not part of GIT
89
+because they are generated at release time with make release.</p>
73 90
 
74 91
 <p><strong>Optional:</strong> If you want to use udev rules instead of suid to manage sysfs permissions, you may skip the <code>make install</code> step and instead add something like the following to <code>/etc/udev/rules.d/90-backlight.rules</code> after copying your binaries:</p>
75 92