diff options
-rw-r--r-- | Makefile.am | 15 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 16 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 4a28b8b..78738cc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -118,7 +118,15 @@ blogc.1: man/blogc.1.ronn --manual "$(PACKAGE_NAME) Manual" \ $< > $@ -blogc%.7: man/blogc%.7.ronn +blogc-source.7: man/blogc-source.7.ronn + $(AM_V_GEN)$(RONN) \ + --roff \ + --pipe \ + --organization "Rafael G. Martins" \ + --manual "$(PACKAGE_NAME) Manual" \ + $< > $@ + +blogc-template.7: man/blogc-template.7.ronn $(AM_V_GEN)$(RONN) \ --roff \ --pipe \ @@ -131,7 +139,10 @@ else blogc.1: $(AM_V_GEN)echo "error: ronn not found. failed to build man page: $@"; exit 1 -blogc%.7: +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 endif diff --git a/configure.ac b/configure.ac index 3779c31..3cfb07d 100644 --- a/configure.ac +++ b/configure.ac @@ -4,13 +4,15 @@ AC_INIT([blogc], [0.5.1], [https://github.com/blogc/blogc], [blogc], [https://bl AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([1.13 foreign dist-bzip2 dist-xz dist-zip subdir-objects serial-tests]) +AM_INIT_AUTOMAKE([1.13 foreign dist-bzip2 dist-xz dist-zip subdir-objects serial-tests -Wall -Werror]) AC_CONFIG_HEADERS([config.h]) AM_SILENT_RULES([yes]) AM_MAINTAINER_MODE([enable]) AC_USE_SYSTEM_EXTENSIONS +AM_PROG_AR + LT_INIT AC_PROG_CC_C99 |