File: howto-compilation.md

package info (click to toggle)
kbd 2.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,980 kB
  • sloc: ansic: 14,562; javascript: 3,038; sh: 1,154; pascal: 643; makefile: 614; lex: 542; yacc: 338; perl: 126; python: 96; sed: 6
file content (22 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
The common case

```
./autogen.sh && ./configure && make
```

If something fails read the last lines. Typical reason to fail is a missing
dependency, such as libtool or gettext.


Autotools
=========

`./autogen.sh` generates all files needed to compile and install the code (run
it after checkout from git)

`make distclean` removes all unnecessary files, but the code can still be
recompiled with `./configure; make`

`make dist-gzip` (or -bzip2) creates a tarball that can be configured and
compiled without running `./autogen.sh`