Commit Graph

33 Commits

Author SHA1 Message Date
Chrissie Caulfield
78df90b180
tests: Run IPC with use-filesystem-sockets active (#455)
* tests: Run IPC with use-filesystem-sockets active

Provide an LD_PRELOAD library that simulates the presence
of /etc/libqb/use-filesystem-sockets so that we can test
that functionality without actually having the file on
the system and affecting everything else running on the
box.

* use $() rather than ``

* Cope with spaces in directory names

* Docs: quote DOXYGEN2MAN in Makefile.am rather than configure.ac
2022-03-21 09:10:35 +00:00
wferi
6853eeaea6
doc related fixups (#421)
* Fix documentation typo in qbrb.h

* Fix section number in doxygen2man manual

* Point Doxygen to our examples

* No HTML documentation anymore
2020-09-25 08:52:36 +01:00
Chrissie Caulfield
6d35611524
doxygen2man: Add option to read copyright line from the header file (#415)
* doxygen2man: Add option to read copyright line from the header file

This should help make builds reproducible.

I tried various methods of getting the date, using 'git' is no use as
it could be run from a tarball, using the file date doesn't work either
so this seems a reasonable compromise.

* man: Use SOURCE_EPOCH to make manpage dates reproducible

Also add build-aux/update-copyright.sh to keep header file
copyright lines up-to-date.

All code taken from knet
2020-09-09 15:06:55 +01:00
Christine Caulfield
71a9c8c923 doxygen2man: Tidy RETURN VALUE 2020-07-02 14:04:17 +01:00
Fabio M. Di Nitto
20ff7bcad5
[docs] fix man page distribution (#407)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2020-06-29 07:33:09 +01:00
Chrissie Caulfield
b19f706144
Make manpages (#405)
* man: Use doxygen2man to make the API manpages

* [build] drop unused target

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* [build] update gitignore

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* [docs] make build -j safe and drop unnecessary dox config files

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

* man: Use doxygen2man to generate *.h.3 man pages

so we don't need to use the awful doxygen ones

Co-authored-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2020-06-26 13:03:48 +01:00
Jan Pokorný
85b82bd615
build: ensure debug make flags are not derived when unsuitable
Unfortunately, debug messages of GNU make are emitted to stdout, which
spoils the extracted output we rely on.  So prevent it (as well as
any other extraneous option) by force.

(discovered during git -> automatic COPR builds integration)
2016-11-18 23:29:07 +01:00
Jan Pokorný
464817579e
docs: {html,man}.dox.in: extract common parts to common.dox 2016-03-17 13:29:28 +01:00
Jan Pokorný
63dc43bb79
build: docs: {dependent -> public}_headers + more robust obtaining 2016-03-10 21:11:01 +01:00
Jan Pokorný
2468e46a56
build: extra clean-local rule instead of overriding clean-generic
Previously, stuffing CLEANFILES with anything would not work in the
affected files.
2016-03-10 21:06:29 +01:00
Jan Pokorný
b69c74357f
build: fix out-of-tree build broken with 0b04ed5 (#184)
Generating the man pages definitely doesn't depend on existence of
(possibly generated) header files that we omit anyway.
2016-03-10 16:37:16 +01:00
Jan Pokorný
4df20fbb53
build: fix man3 pages not installed
Issue with original version of the patch spotted by Chrissie (thanks).
2016-02-22 14:50:37 +01:00
Jan Pokorný
792c34bf6b
build: header-based man pages: include also qbdefs.h+qbrb.h
No reason not to do that.  Situation with qbconfig.h is a bit more
complicated as this file gets generated from .in file and there is
currently no reliable inter-dir/makefile (siblings) targets
dependency tracking in place, AFAICT.
2016-02-18 19:04:48 +01:00
Jan Pokorný
cf1588c6ec
build: header-based man pages: dependent_headers - blacklist
IOW, make tracking of interfaces to document via man pages maintainable.
2016-02-18 18:56:54 +01:00
Jan Pokorný
0b04ed5e77
build: grab "dependent_headers" from respective Makefile.am
...with "echo path/*.h" fallback (equivalent of wildcard function) if
the new methods fails for some reason.
2016-02-18 18:33:14 +01:00
Jan Pokorný
cabe021d47
build: fix "dependant" typo 2016-02-18 18:28:03 +01:00
Ferenc Wágner
5a140cea38 Do not suppress echoing of Doxygen commands
This makes fixing Doxygen warnings easier.
2015-04-20 16:12:50 +02:00
Angus Salkeld
a6797c5c19 docs: install qb-blackbox.8 if doxygen is not available.
fixes bug #54

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2013-02-13 15:45:40 +11:00
Angus Salkeld
c41f2c93a0 Add a tool to dump the blackbox.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-05-28 11:16:00 +10:00
Angus Salkeld
94767b18b8 Initial map using either a skiplist or a hashtable
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-08-22 14:11:43 +10:00
Angus Salkeld
04b76a0f27 LOG: fix make install and distcheck
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-03-28 12:25:06 +11:00
Angus Salkeld
e910f8bc18 Add logging infrastructure.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-03-25 23:34:12 +11:00
Angus Salkeld
9745d4feb7 Add a resizable array that doesn't move memory.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-19 07:05:54 +11:00
Angus Salkeld
e7b46822d5 ATOMIC: fix make distcheck
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-19 07:05:54 +11:00
Angus Salkeld
47443a5b63 DOCS: do some work on the doxygen output.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-17 19:31:24 +11:00
Angus Salkeld
57af215a96 Remove timer.c (rather use mainloop)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-12 21:53:52 +11:00
Angus Salkeld
08e5a9004d Add a priority based main loop.
This is to try and get a better balance in the amount
of processing between IPC and totem in corosync.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-12 21:53:52 +11:00
Angus Salkeld
b49449c0ad DOCS: quiten the doxygen make process
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-10-06 20:39:00 +11:00
Angus Salkeld
e3a6cd6ad6 Delete unchecked API (to be re-added later).
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-09-30 20:49:11 +10:00
Angus Salkeld
e5ffd5a210 BSD: port new changes to BSD
- check for doxygen
- no RLIMIT_MSGQUEUE on bsd
- change ENODATA to ENOMSG

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-09-03 14:04:00 +10:00
Angus Salkeld
7cfb5e472f Roll all little libs into libqb.
This really makes things simpler (to produce and use).

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-27 11:34:58 +10:00
Angus Salkeld
5abc366c33 Make docs rules more maintainable
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-26 14:11:23 +10:00
Angus Salkeld
2e2e6761bf Fix make doxygen (for html output)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2010-05-25 20:30:37 +10:00