Pārlūkot izejas kodu

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

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 gadus atpakaļ
vecāks
revīzija
00889580cd
1 mainītis faili ar 21 papildinājumiem un 1 dzēšanām
  1. 21
    1
      README.md

+ 21
- 1
README.md Parādīt failu

@@ -29,7 +29,27 @@ I recommend you go with light-git as you might miss important features and bugfi
29 29
 
30 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 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
 ```