summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: af0e86e9b0f32892ebe09f7c4fa7598b0fe34dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## 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