Code

Fix compilation with GCC 2.96 (Konstantin Khomoutov - #2977105)
[nagiosplug.git] / plugins-scripts / Makefile.am
index 5c073ca402687f5ea52c919fab1a01d103d62ba9..58db06048ec0c0e6f62b956bffbde0019f88e15e 100644 (file)
@@ -1,7 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
 if RELEASE_PRESENT
-NP_VERSION = $(PACKAGE_VERSION)
+NP_VERSION = @NP_RELEASE@
 else
 NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
        @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
@@ -27,8 +27,6 @@ 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