forked from OpenELEC/eventlircd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First try at simplifying development
- add documentation for developers - make git ignore generated files - fix a warning which would fail during make, case evaluation falling through
- Loading branch information
Eric L
committed
Feb 26, 2022
1 parent
fb51489
commit e459204
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Vim temporary and backup files | ||
.*.swp | ||
*~ | ||
|
||
# autoreconf output files | ||
Makefile.in | ||
aclocal.m4 | ||
autom4te.cache/ | ||
build-aux/ | ||
configure | ||
src/config.h.in | ||
|
||
# build directory | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Instructions to build and develop eventlircd | ||
|
||
## Prerequisites | ||
|
||
``` | ||
sudo apt install gcc libudev-dev | ||
``` | ||
|
||
**NOTE:** there are surely more dependencies which were already installed on my workstation, so I wouldn't know. | ||
|
||
## Compile | ||
|
||
``` | ||
autoreconf --install | ||
mkdir build | ||
cd build | ||
../configure --sysconfdir=/etc | ||
make | ||
``` | ||
|
||
**TIP:** we use the build directory to avoid mixing generated and source files. | ||
|
||
## Install | ||
|
||
``` | ||
cd build | ||
sudo make install [DESTDIR=...] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters