aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-15 02:59:35 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-15 02:59:35 -0300
commitf7a4ecf2add403c8b078658406fcfed5486fdd2c (patch)
treee0ea1862e0ef3bc9445dbf49d14637c279f0d968 /Makefile.am
parentae6443e44a2a6e242cf97d58e608e6f21dcdc464 (diff)
downloadblogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.tar.gz
blogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.tar.bz2
blogc-f7a4ecf2add403c8b078658406fcfed5486fdd2c.zip
added initial man pages
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am47
1 files changed, 46 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9302a7e..9d56ca3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,9 @@ ACLOCAL_AMFLAGS = -I m4
AM_DISTCHECK_CONFIGURE_FLAGS = \
--enable-tests \
- --disable-valgrind
+ --disable-ronn \
+ --disable-valgrind \
+ $(NULL)
## File listings
@@ -18,6 +20,9 @@ EXTRA_DIST = \
CLEANFILES = \
$(NULL)
+MAINTAINERCLEANFILES = \
+ $(NULL)
+
noinst_HEADERS = \
src/content-parser.h \
src/file.h \
@@ -81,6 +86,46 @@ blogc_LDADD = \
$(NULL)
+## Build rules: man pages
+
+if USE_RONN
+
+EXTRA_DIST += \
+ man/blogc.1.ronn \
+ man/blogc-source.7.ronn \
+ man/blogc-template.7.ronn \
+ man/index.txt \
+ $(NULL)
+
+dist_man_MANS = \
+ man/blogc.1 \
+ man/blogc-source.7 \
+ man/blogc-template.7 \
+ $(NULL)
+
+MAINTAINERCLEANFILES += \
+ $(dist_man_MANS) \
+ $(NULL)
+
+man/blogc.1: man/blogc.1.ronn
+ $(AM_V_GEN)$(RONN) \
+ --roff \
+ --pipe \
+ --organization "Rafael G. Martins" \
+ --manual "$(PACKAGE_NAME) Manual" \
+ $< > $@
+
+man/blogc%.7: man/blogc%.7.ronn
+ $(AM_V_GEN)$(RONN) \
+ --roff \
+ --pipe \
+ --organization "Rafael G. Martins" \
+ --manual "$(PACKAGE_NAME) Manual" \
+ $< > $@
+
+endif
+
+
## Build rules: tests
if USE_CMOCKA