1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
# no compile and link, so omit these macros
#bin_PROGRAMS=tkping
#tkping_SOURCES=
# this gets installed
bin_SCRIPTS=tkping
# install a perl package of useful routines
pkgdata_DATA=tkpingLib.pm
# install the configuration file
sysconf_DATA=tkping.conf
# install the man pages
man_MANS=tkping.8
# listing sources here instead of using the tkping_SOURCES macro
EXTRA_DIST=tkping.sgml aclocal.m4 tkping.conf tkping.hosts config \
tkpingLib.pm tkping.8 tkping
# extra files that need to be removed
MOSTLYCLEANFILES=tkping.8.stderr tkping.log *-stamp
# files that need to be removed (but are hard to regernate)
MAINTAINERCLEANFILES=tkping.8
# generate our manpage from our .sgml file
tkping.8: tkping.sgml
@echo "docbook-to-man $< > $@"
@-rm -f $@.stderr
@-docbook-to-man $< > $@ 2>$@.stderr
@if test -s $@.stderr; then \
echo "*** errors processing $<, see $@.stderr" >&2; \
exit 2; \
else \
rm -f $@.stderr; \
fi
|