Code

Removing all .cvsignore files
[nagiosplug.git] / plugins-scripts / Makefile.am
1 ## Process this file with automake to produce Makefile.in
3 SUFFIXES = .pl .sh
5 VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
7 libexec_SCRIPTS = check_breeze check_disk_smb check_flexlm check_ircd \
8         check_log check_oracle check_rpc check_sensors check_wave \
9         check_ifstatus check_ifoperstatus check_mailq check_file_age \
10         utils.sh utils.pm
12 EXTRA_DIST=check_breeze.pl check_disk_smb.pl check_flexlm.pl check_ircd.pl \
13         check_log.sh check_ntp.pl check_oracle.sh check_rpc.pl check_sensors.sh \
14         check_ifstatus.pl check_ifoperstatus.pl check_wave.pl check_mailq.pl check_file_age.pl \
15         utils.sh.in utils.pm.in t
17 TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir)
19 TESTS = @SCRIPT_TEST@
21 test:
22         perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
23         perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t   # utils.t is excluded from above, so manually ask to test
25 CLEANFILES=$(libexec_SCRIPTS)
27 .pl :
28         $(AWK) -f ./subst $< > $@
29         chmod +x $@
31 .sh :
32         $(AWK) -f ./subst $< > $@
33         chmod +x $@