From 6fbd14fea5c111a23d9074d25499991cbfa58f79 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Sun, 23 Nov 2008 05:38:47 +0000 Subject: Removing CVS/SVN tags and replacing with git-based versioning For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-scripts/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'plugins-scripts/Makefile.am') diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am index 01fca20d..c9e3e40e 100644 --- a/plugins-scripts/Makefile.am +++ b/plugins-scripts/Makefile.am @@ -1,5 +1,11 @@ ## Process this file with automake to produce Makefile.in +NP-VERSION-FILE: .FORCE-NP-VERSION-FILE + @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN +-include NP-VERSION-FILE + +export NP_VERSION:= $(NP_VERSION) + SUFFIXES = .pl .sh VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t @@ -18,6 +24,8 @@ TESTS_ENVIRONMENT=perl -I $(top_builddir) -I $(top_srcdir) TESTS = @SCRIPT_TEST@ +all-local: NP-VERSION-FILE + test: perl -I $(top_builddir) -I $(top_srcdir) ../test.pl perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test @@ -35,3 +43,8 @@ CLEANFILES=$(libexec_SCRIPTS) .sh : $(AWK) -f ./subst $< > $@ chmod +x $@ + +clean-local: + rm -f NP-VERSION-FILE + +.PHONY: .FORCE-NP-VERSION-FILE -- cgit v1.2.3-74-g34f1