Code

39291c8063b190f89c3a3cf9158f8855800c2572
[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
24 CLEANFILES=$(libexec_SCRIPTS)
26 .pl :
27         $(AWK) -f ./subst $< > $@
28         chmod +x $@
30 .sh :
31         $(AWK) -f ./subst $< > $@
32         chmod +x $@