diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-11-18 22:43:00 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-11-18 22:43:00 +0100 |
commit | 3b1bc6619bf41a9833b2275aed1601631ab30bc4 (patch) | |
tree | bf02df1a49364d5a7d7548507e5b17ba415e21dd /Makefile.am | |
parent | 27da072e143d36f474a9388cb016134e9b647b89 (diff) | |
download | blogc-3b1bc6619bf41a9833b2275aed1601631ab30bc4.tar.gz blogc-3b1bc6619bf41a9833b2275aed1601631ab30bc4.tar.bz2 blogc-3b1bc6619bf41a9833b2275aed1601631ab30bc4.zip |
Revert "Make manpages generation optional"
The commit broke the release tarballs. I need to find a solution to
allow people to build from git without ronn, but this patch needs to be
reverted for now.
This reverts commit 732f74f3b4cd13bdf393c716c0c350ca9bf34f4c.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 5f9d5af..8cd56e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -286,8 +286,6 @@ endif ## Build rules: man pages -if BUILD_MANPAGE - EXTRA_DIST += \ man/blogc.1.ronn \ man/blogc-git-receiver.1.ronn \ @@ -333,6 +331,8 @@ MAINTAINERCLEANFILES += \ $(dist_man_MANS) \ $(NULL) +if BUILD_MANPAGE + blogc.1: man/blogc.1.ronn $(AM_V_GEN)$(RONN) \ --roff \ @@ -397,7 +397,30 @@ blogc-pagination.7: man/blogc-pagination.7.ronn --manual "$(PACKAGE_NAME) Manual" \ $(top_srcdir)/man/blogc-pagination.7.ronn > blogc-pagination.7 -endif # BUILD_MANPAGE +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 ## Build rules: tests |