diff options
author | baylej <baylej@mrhide.eu> | 2017-08-03 10:53:07 +0200 |
---|---|---|
committer | Rafael Martins <rafael@rafaelmartins.eng.br> | 2017-08-03 12:17:49 +0200 |
commit | 732f74f3b4cd13bdf393c716c0c350ca9bf34f4c (patch) | |
tree | ec342870fce780fb59ddc99bf1c4b219a8714867 | |
parent | 59e1df233e351a91240c02ac55e8d97bda2f0e43 (diff) | |
download | blogc-732f74f3b4cd13bdf393c716c0c350ca9bf34f4c.tar.gz blogc-732f74f3b4cd13bdf393c716c0c350ca9bf34f4c.tar.bz2 blogc-732f74f3b4cd13bdf393c716c0c350ca9bf34f4c.zip |
Make manpages generation optional
Option --disable-ronn is said to ignore presence of ronn and disable
man pages generation.
-rw-r--r-- | Makefile.am | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/Makefile.am b/Makefile.am index a6b6fc9..6117951 100644 --- a/Makefile.am +++ b/Makefile.am @@ -286,6 +286,8 @@ endif ## Build rules: man pages +if BUILD_MANPAGE + EXTRA_DIST += \ man/blogc.1.ronn \ man/blogc-git-receiver.1.ronn \ @@ -329,8 +331,6 @@ MAINTAINERCLEANFILES += \ $(dist_man_MANS) \ $(NULL) -if BUILD_MANPAGE - blogc.1: man/blogc.1.ronn $(AM_V_GEN)$(RONN) \ --roff \ @@ -387,30 +387,7 @@ blogc-pagination.7: man/blogc-pagination.7.ronn --manual "$(PACKAGE_NAME) Manual" \ $(top_srcdir)/man/blogc-pagination.7.ronn > blogc-pagination.7 -else - -blogc.1: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-git-receiver.1: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-make.1: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-runserver.1: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-source.7: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-template.7: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -blogc-pagination.7: - $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 - -endif +endif # BUILD_MANPAGE ## Build rules: tests |