diff options
| author | Gergely Nagy <algernon@madhouse-project.org> | 2012-04-29 10:34:04 +0200 |
|---|---|---|
| committer | Gergely Nagy <algernon@madhouse-project.org> | 2012-04-29 10:35:34 +0200 |
| commit | 7dc0d11639d5f9fd2c4d0e01ab12813a5898f596 (patch) | |
| tree | 20f303678770af6d04cb7bc8ac25a4e521a04895 /lib | |
| parent | 6c0aa3ce24cfbe890c23c04f634cb8938d14f9f1 (diff) | |
| download | libumberlog-7dc0d11639d5f9fd2c4d0e01ab12813a5898f596.tar.gz libumberlog-7dc0d11639d5f9fd2c4d0e01ab12813a5898f596.tar.xz libumberlog-7dc0d11639d5f9fd2c4d0e01ab12813a5898f596.zip | |
Generate the manual page if rst2man is present
If rst2man is present at configure time, generate the manual page with
it, which is to be included in the dist tarball too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index b113810..b6b60b3 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -15,3 +15,12 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libumberlog.pc EXTRA_DIST = umberlog.rst libumberlog.ld + +if ENABLE_MANS +man3_MANS = umberlog.3 +CLEANFILES = umberlog.3 +EXTRA_DIST += umberlog.3 + +umberlog.3: umberlog.rst + $(AM_V_GEN) $(RST2MAN) $< $@ +endif |
