mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
Check for presence of a2x (from asciidoc) in configure and use path in Makefile
This commit is contained in:
parent
ddbf2c2a19
commit
88bc95fd67
@ -35,7 +35,7 @@ EXTRA_DIST = doc/lsyncd.1.txt inotify.c fsevents.c bin2carray.lua \
|
|||||||
default.lua default-rsync.lua default-rsyncssh.lua default-direct.lua
|
default.lua default-rsync.lua default-rsyncssh.lua default-direct.lua
|
||||||
|
|
||||||
doc/lsyncd.1: doc/lsyncd.1.txt
|
doc/lsyncd.1: doc/lsyncd.1.txt
|
||||||
a2x --format=manpage $<
|
$(A2X) --format=manpage $<
|
||||||
|
|
||||||
CLEANFILES = runner.out defaults.out runner.c defaults.c
|
CLEANFILES = runner.out defaults.out runner.c defaults.c
|
||||||
|
|
||||||
|
@ -5,11 +5,17 @@ AC_INIT(lsyncd, 2.0.7, axkibe@gmail.com)
|
|||||||
AC_CONFIG_SRCDIR([lsyncd.c])
|
AC_CONFIG_SRCDIR([lsyncd.c])
|
||||||
AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
||||||
|
AC_PATH_PROG([A2X], [a2x], [no])
|
||||||
|
if test x${A2X} = xno ; then
|
||||||
|
AC_MSG_ERROR([Program 'a2x' (package asciidoc) is required])
|
||||||
|
fi
|
||||||
|
|
||||||
###
|
###
|
||||||
# Checks for lua
|
# Checks for lua
|
||||||
PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.3],,[
|
PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.3],,[
|
||||||
|
Loading…
Reference in New Issue
Block a user