Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
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/
28 changes: 28 additions & 0 deletions DEVELOP.md
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=...]
```
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ int main(int argc,char **argv)
{
syslog(LOG_WARNING, "the highest verbosity level is -vvv\n");
}
/* FALLTHRU */
case 'f':
foreground = true;
break;
Expand Down