aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 00e59622042f76968cc4326fea4a8f1a24031f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## Process this file with automake to produce Makefile.in

SUBDIRS = plugins plugins-scripts

EXTRA_DIST = REQUIREMENTS acconfig.h subst.in subst.sh Helper.pm contrib nagios-plugins.spec.in

dist-hook:
	sed "s/PACKAGE_VERSION/@PACKAGE_VERSION@/;s/PACKAGE_RELEASE/@PACKAGE_RELEASE@/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec

test:
	cd plugins; $(MAKE) test
	cd plugins-scripts; $(MAKE) test