2008-08-06 13:04:01 +00:00
|
|
|
## Makefile.am -- Process this file with automake to produce Makefile.in
|
|
|
|
bin_PROGRAMS = lsyncd
|
|
|
|
lsyncd_SOURCES = lsyncd.c
|
2008-10-06 20:35:52 +00:00
|
|
|
TESTS = tests/help.sh \
|
2008-10-08 04:09:02 +00:00
|
|
|
tests/directorymv.sh \
|
2008-11-05 11:37:35 +00:00
|
|
|
tests/directorycpr.sh \
|
2008-10-08 04:08:52 +00:00
|
|
|
tests/pidfile.sh \
|
2008-10-06 20:35:52 +00:00
|
|
|
tests/version.sh \
|
|
|
|
tests/wrong-logfile.sh \
|
|
|
|
tests/wrong-rsync.sh
|
2008-08-06 13:04:01 +00:00
|
|
|
|
|
|
|
datarootdir = @datarootdir@
|
|
|
|
|
2008-12-13 22:14:58 +00:00
|
|
|
EXTRA_DIST = config.h.in inotify-nosys.h lsyncd.conf.xml \
|
|
|
|
doc/manpage.lsyncd.xml doc/manpage.lsyncd.conf.xml \
|
|
|
|
doc/lsyncd.1 doc/lsyncd.conf.xml.5
|
2008-10-08 04:08:52 +00:00
|
|
|
|
2008-12-13 22:14:58 +00:00
|
|
|
nodist_man1_MANS = doc/lsyncd.1 doc/lsyncd.conf.xml.5
|
2008-10-08 04:08:42 +00:00
|
|
|
|
|
|
|
check-syntax:
|
|
|
|
$(CC) -c -O2 -Wall $(CHK_SOURCES) -o/dev/null
|
2008-10-08 04:08:52 +00:00
|
|
|
|
2008-12-05 06:50:43 +00:00
|
|
|
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
|
|
|
|
XP = xsltproc -''-nonet \
|
2008-10-08 04:08:52 +00:00
|
|
|
-''-param man.charmap.use.subset "0" \
|
|
|
|
-''-param make.year.ranges "1" \
|
2008-12-05 06:50:43 +00:00
|
|
|
-''-param make.single.year.ranges "1"
|
|
|
|
|
2008-12-13 22:14:58 +00:00
|
|
|
doc/lsyncd.1: doc/manpage.lsyncd.xml
|
|
|
|
$(XP) -o $@ $(DB2MAN) $<
|
2008-12-04 21:54:56 +00:00
|
|
|
|
2008-12-13 22:14:58 +00:00
|
|
|
doc/lsyncd.conf.xml.5: doc/manpage.lsyncd.conf.xml
|
|
|
|
$(XP) -o $@ $(DB2MAN) $<
|
2008-11-20 21:38:58 +00:00
|
|
|
|
|
|
|
AM_CFLAGS=-Wall
|
2008-12-13 17:30:52 +00:00
|
|
|
AM_LDFLAGS=
|
2008-11-20 21:38:58 +00:00
|
|
|
if XML_CONFIG
|
|
|
|
DEFS+=-DXML_CONFIG
|
|
|
|
AM_CFLAGS += `xml2-config --cflags`
|
2008-12-13 17:30:52 +00:00
|
|
|
AM_LDFLAGS += `xml2-config --libs`
|
2008-11-20 21:38:58 +00:00
|
|
|
endif
|
|
|
|
|