Browse Source

Document new build process, both from tarball and directly from GIT

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 years ago
parent
commit
00889580cd
1 changed files with 21 additions and 1 deletions
  1. 21
    1
      README.md

+ 21
- 1
README.md View File

29
 
29
 
30
 ### Manual
30
 ### Manual
31
 
31
 
32
-`make && sudo make install`
32
+We recommended downloading a versioned tarball from the relases page on
33
+GitHub.  Download and untar the archive:
34
+
35
+    tar xf light-x.yy.tar.gz
36
+    cd light-x.yy/
37
+    ./configure && make
38
+    sudo make install
39
+
40
+However, should you want to try the latest GitHub source you first need
41
+to clone the repository and run the `autogen.sh` script.  This requires
42
+`automake` and `autoconf` to be installed on your system.
43
+
44
+    ./autogen.sh
45
+    ./configure && make
46
+    sudo make install
47
+
48
+The `configure` script and `Makefile.in` files are not part of GIT
49
+because they are generated at release time with `make release`.
50
+
51
+
52
+### Permissions
33
 
53
 
34
 **Optional:** If you want to use udev rules instead of suid to manage sysfs permissions, you may skip the `make install` step and instead add something like the following to `/etc/udev/rules.d/90-backlight.rules` after copying your binaries:
54
 **Optional:** If you want to use udev rules instead of suid to manage sysfs permissions, you may skip the `make install` step and instead add something like the following to `/etc/udev/rules.d/90-backlight.rules` after copying your binaries:
35
 ```
55
 ```