<commit_before>### Building ###

#### Defaults ####

By default debug version is build right in the source tree.

#### Targets ####

* `debug`
Builds debug version in `debug/`.

* `release`
Builds release version in `release/`.

* `sanitize-basic`
Builds debug version with undefined and address sanitizers enabled in
`sanitize-basic/`.

* `man`
Rebuilds manual page in `<out>/docs/uncov.1`, requires `pandoc`.

* `coverage`
Builds coverage in `coverage/` and commits it using `uncov` itself (which should
be installed).

* `check`
Builds and runs tests.  Combine with `debug`, `release` or `sanitize-basic` to
build and run tests in that configuration.

* `clean`
Removes build artifacts for all configurations.

* `install`
Builds the application in release mode (`release` target) and installs it.
`DESTDIR` can be set to point to root of the installation directory.

* `uninstall`
Removes executable and man page.  Do specify `DESTDIR` if it was specified on
installation.

#### Documentation ####

Rebuilding a man-page requires `pandoc` to be installed.

### Installation ###

A regular installation under `/usr/bin` can be done like this:

```
make install
```

Installation into custom directory (e.g. to make a package):

```<commit_msg>A bit different formatting of targets in INSTALL<commit_after>### Building ###

#### Defaults ####

By default debug version is build right in the source tree.

#### Targets ####

**`debug`**

Builds debug version in `debug/`.

**`release`**

Builds release version in `release/`.

**`sanitize-basic`**

Builds debug version with undefined and address sanitizers enabled in
`sanitize-basic/`.

**`man`**

Rebuilds manual page in `<out>/docs/uncov.1`, requires `pandoc`.

**`coverage`**

Builds coverage in `coverage/` and commits it using `uncov` itself (which should
be installed).

**`check`**

Builds and runs tests.  Combine with `debug`, `release` or `sanitize-basic` to
build and run tests in that configuration.

**`clean`**

Removes build artifacts for all configurations.

**`install`**

Builds the application in release mode (`release` target) and installs it.
`DESTDIR` can be set to point to root of the installation directory.

**`uninstall`**

Removes executable and man page.  Do specify `DESTDIR` if it was specified on
installation.

#### Documentation ####

Rebuilding a man-page requires `pandoc` to be installed.

### Installation ###

A regular installation under `/usr/bin` can be done like this:

```
make install
```

Installation into custom directory (e.g. to make a package):

```
{'fraction_non_alphanumeric': 0.12490211433046201, 'fraction_numerical': 0.0007830853563038371, 'mean_word_length': 4.506465517241379, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4248363', 'n_tokens_mistral': 781, 'n_tokens_neox': 777, 'n_words': 323}