include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = basic_db_auth
-man_MANS = basic_db_auth.8
+CLEANFILES += basic_db_auth
EXTRA_DIST= \
- basic_db_auth.8 \
passwd.sql \
basic_db_auth.pl.in \
required.m4
-basic_db_auth.8: basic_db_auth
- pod2man basic_db_auth basic_db_auth.8
-
basic_db_auth: basic_db_auth.pl.in
$(subst_perlshell)
-CLEANFILES += basic_db_auth basic_db_auth.8
+if ENABLE_POD2MAN_DOC
+man_MANS = basic_db_auth.8
+CLEANFILES += basic_db_auth.8
+EXTRA_DIST += basic_db_auth.8
+
+basic_db_auth.8: basic_db_auth
+ pod2man --section=8 basic_db_auth basic_db_auth.8
+
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="DB"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. basic_db_auth man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = basic_pop3_auth
-man_MANS= basic_pop3_auth.8
+CLEANFILES += basic_pop3_auth
EXTRA_DIST= \
- basic_pop3_auth.8 \
basic_pop3_auth.pl.in \
required.m4
basic_pop3_auth: basic_pop3_auth.pl.in
$(subst_perlshell)
+if ENABLE_POD2MAN_DOC
+man_MANS = basic_pop3_auth.8
+CLEANFILES += basic_pop3_auth.8
+EXTRA_DIST += basic_pop3_auth.8
+
basic_pop3_auth.8: basic_pop3_auth
- pod2man basic_pop3_auth basic_pop3_auth.8
+ pod2man --section=8 basic_pop3_auth basic_pop3_auth.8
-CLEANFILES += basic_pop3_auth basic_pop3_auth.8
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="POP3"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. basic_pop3_auth man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = ext_sql_session_acl
-CLEANFILES += ext_sql_session_acl ext_sql_session_acl.8
-man_MANS = ext_sql_session_acl.8
+CLEANFILES += ext_sql_session_acl
EXTRA_DIST= \
- ext_sql_session_acl.8 \
ext_sql_session_acl.pl.in \
required.m4
-ext_sql_session_acl.8: ext_sql_session_acl
- pod2man ext_sql_session_acl ext_sql_session_acl.8
-
ext_sql_session_acl: ext_sql_session_acl.pl.in
$(subst_perlshell)
+
+if ENABLE_POD2MAN_DOC
+man_MANS = ext_sql_session_acl.8
+CLEANFILES += ext_sql_session_acl.8
+EXTRA_DIST += ext_sql_session_acl.8
+
+ext_sql_session_acl.8: ext_sql_session_acl
+ pod2man --section=8 ext_sql_session_acl ext_sql_session_acl.8
+
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="SQL_session"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. ext_sql_session_acl man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = ext_delayer_acl
-CLEANFILES += ext_delayer_acl ext_delayer_acl.8
+CLEANFILES += ext_delayer_acl
+EXTRA_DIST= \
+ required.m4 \
+ ext_delayer_acl.pl.in
+
+ext_delayer_acl: ext_delayer_acl.pl.in
+ $(subst_perlshell)
+
+if ENABLE_POD2MAN_DOC
man_MANS = ext_delayer_acl.8
-EXTRA_DIST = ext_delayer_acl.pl.in ext_delayer_acl.8 required.m4
+CLEANFILES += ext_delayer_acl.8
+EXTRA_DIST += ext_delayer_acl.8
ext_delayer_acl.8: ext_delayer_acl
- pod2man ext_delayer_acl ext_delayer_acl.8
+ pod2man --section=8 ext_delayer_acl ext_delayer_acl.8
-ext_delayer_acl: ext_delayer_acl.pl.in
- $(subst_perlshell)
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="delayer"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. ext_delayer_acl man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS= ext_wbinfo_group_acl
-man_MANS= ext_wbinfo_group_acl.8
+CLEANFILES += ext_wbinfo_group_acl
EXTRA_DIST= \
- ext_wbinfo_group_acl.8 \
ext_wbinfo_group_acl.pl.in \
required.m4
ext_wbinfo_group_acl: ext_wbinfo_group_acl.pl.in
$(subst_perlshell)
+if ENABLE_POD2MAN_DOC
+man_MANS = ext_wbinfo_group_acl.8
+CLEANFILES += ext_wbinfo_group_acl.8
+EXTRA_DIST += ext_wbinfo_group_acl.8
+
ext_wbinfo_group_acl.8: ext_wbinfo_group_acl
- pod2man ext_wbinfo_group_acl ext_wbinfo_group_acl.8
+ pod2man --section=8 ext_wbinfo_group_acl ext_wbinfo_group_acl.8
-CLEANFILES += ext_wbinfo_group_acl.8 ext_wbinfo_group_acl
+endif
fi
# allow script install anyway when perl is present
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="wbinfo_group"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. ext_wbinfo_group_acl man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = log_db_daemon
-CLEANFILES += log_db_daemon log_db_daemon.8
-man_MANS = log_db_daemon.8
+CLEANFILES += log_db_daemon
EXTRA_DIST= \
required.m4 \
doc/views.sql \
doc/date_day_column.sql \
- log_db_daemon.8 \
log_db_daemon.pl.in
-log_db_daemon.8: log_db_daemon
- pod2man log_db_daemon log_db_daemon.8
-
log_db_daemon: log_db_daemon.pl.in
$(subst_perlshell)
+
+if ENABLE_POD2MAN_DOC
+man_MANS = log_db_daemon.8
+CLEANFILES += log_db_daemon.8
+EXTRA_DIST += log_db_daemon.8
+
+log_db_daemon.8: log_db_daemon
+ pod2man --section=8 log_db_daemon log_db_daemon.8
+
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="DB"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. log_db_daemon man(8) page will not be built])
+fi
+
include $(top_srcdir)/src/Common.am
libexec_SCRIPTS = storeid_file_rewrite
-CLEANFILES += storeid_file_rewrite storeid_file_rewrite.8
-man_MANS = storeid_file_rewrite.8
+CLEANFILES += storeid_file_rewrite
EXTRA_DIST= \
- storeid_file_rewrite.8 \
storeid_file_rewrite.pl.in \
required.m4
-storeid_file_rewrite.8: storeid_file_rewrite
- pod2man storeid_file_rewrite storeid_file_rewrite.8
-
storeid_file_rewrite: storeid_file_rewrite.pl.in
$(subst_perlshell)
+
+if ENABLE_POD2MAN_DOC
+man_MANS = storeid_file_rewrite.8
+CLEANFILES += storeid_file_rewrite.8
+EXTRA_DIST += storeid_file_rewrite.8
+
+storeid_file_rewrite.8: storeid_file_rewrite
+ pod2man --section=8 storeid_file_rewrite storeid_file_rewrite.8
+
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="file"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. storeid_file_rewrite man(8) page will not be built])
+fi
+
# Perl helper
libexec_SCRIPTS = url_lfs_rewrite
-man_MANS = url_lfs_rewrite.8
-
+CLEANFILES += url_lfs_rewrite
EXTRA_DIST= \
required.m4 \
- url_lfs_rewrite.8 \
url_lfs_rewrite.pl.in
-url_lfs_rewrite.8: url_lfs_rewrite
- pod2man url_lfs_rewrite url_lfs_rewrite.8
-
url_lfs_rewrite: url_lfs_rewrite.pl.in
$(subst_perlshell)
-CLEANFILES += url_lfs_rewrite url_lfs_rewrite.8
+if ENABLE_POD2MAN_DOC
+man_MANS = url_lfs_rewrite.8
+CLEANFILES += url_lfs_rewrite.8
+EXTRA_DIST += url_lfs_rewrite.8
+
+url_lfs_rewrite.8: url_lfs_rewrite
+ pod2man --section=8 url_lfs_rewrite url_lfs_rewrite.8
+
+endif
## Please see the COPYING and CONTRIBUTORS files for details.
##
-if test "x$PERL" != "x" -a "x$POD2MAN" != "x"; then
+if test "x$PERL" != "x"; then
BUILD_HELPER="LFS"
fi
+if test "x$POD2MAN" = "x"; then
+ AC_MSG_WARN([pod2man not found. url_lfs_rewrite man(8) page will not be built])
+fi
+
CLEANFILES += helper-mux
EXTRA_DIST= helper-mux.pl.in
+helper-mux: helper-mux.pl.in
+ $(subst_perlshell)
+
if ENABLE_POD2MAN_DOC
man_MANS = helper-mux.8
CLEANFILES += helper-mux.8
EXTRA_DIST += helper-mux.8
helper-mux.8: helper-mux
- pod2man helper-mux helper-mux.8
+ pod2man --section=8 helper-mux helper-mux.8
endif
-
-helper-mux: helper-mux.pl.in
- $(subst_perlshell)