Commit Graph

13 Commits

Author SHA1 Message Date
Pierre-Louis Bonicoli c6a872ed61
Add bipgenconfig.1 to dist_man_MANS
Fix 1df884545f
2022-03-20 11:42:09 +01:00
Loïc Gomez 7680af6a09
Add make lint calling clang-format & force 80 cols 2022-03-10 14:19:31 +01:00
Arnaud Cornet e27b84f15e Make the tests subdirectory optional.
Otherwise build breaks when check is not installed.
2018-12-09 15:08:58 -05:00
Arnaud Cornet 53dafd9590 Add unit tests.
Add an optional build dependency on check and add an initial test case.
2018-11-13 08:25:46 -05:00
Arnaud Cornet 057107a233 Move automake file in src subdir, isolate main.
In preparation for adding a unit test directory, move Makefile.am in
src, and build a static libbip before linking a binary.
2018-11-11 18:18:21 -05:00
Pierre-Louis Bonicoli 3f4a260a54
Add systemd unit files
Largely inspired by https://lwn.net/Articles/584175/
"They must be suitable for every distribution to use."

Packagers must define:
- ExecStart=/path/to/bip_env.sh
- Environment=BIP_DEFAULT_CONFIG='/path/to/default/bip'
using a unit file drop-in bip-config.service.d/<distrib>.conf
2018-02-19 19:56:37 +01:00
Pierre-Louis Bonicoli 6b38449875 Allow to set DH parameters 2016-11-07 17:50:20 +01:00
Pierre-Louis Bonicoli 6103f8bc84 CFLAGS: add -Werror 2011-10-04 00:47:22 +02:00
Pierre-Louis Bonicoli 559fa7ed44 don't override user var. Thanks to Alex Legler
Based on gentoo-x86/net-irc/bip/files/bip-configure.patch
See http://www.gnu.org/software/autoconf/manual/automake.html#User-Variables
If user doesn't specify CFLAGS, default value is "-Wall -Wextra -g -O2".
2011-09-14 06:31:58 +02:00
Nathan Phillip Brink 7e1c80a65a Use 'make dist' instead of 'git archive' to create a release or snapshot tarball. 2011-09-14 06:28:14 +02:00
Arnaud Cornet 31ae5ac0bf [autostuff] Rewrite. Use non recursive make. Drop src/config.h.in that must be populated by autoheader 2009-08-24 21:26:46 +02:00
Arnaud Cornet d5ef114c2e Have autodirt install manpages. 2008-01-22 00:36:18 +01:00
nohar 665d2ec5af Initial import 2005-04-28 08:26:44 +00:00