diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 47 |
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 |