Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / Makefile.am
index 770a79832e781f971ff6a2b70109046640daca1e..b6e5f2ec1ce1a9a770fa20c0717be94fb11e9804 100644 (file)
@@ -1,16 +1,14 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = gl lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
+SUBDIRS = gl tap lib plugins plugins-scripts plugins-root po @PERLMODS_DIR@
 
-# Have to list TAP_DIR manually to get in distribution
 EXTRA_DIST = config.rpath \
        ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CODING FAQ LEGAL NEWS \
-       REQUIREMENTS SUPPORT THANKS \
+       NP-VERSION-GEN REQUIREMENTS SUPPORT THANKS \
        NPTest.pm contrib pkg nagios-plugins.spec \
        config_test/Makefile config_test/run_tests config_test/child_test.c \
        perlmods tools/build_perl_modules \
-       tools/tinderbox_build \
-       external/tap-1.01
+       tools/tinderbox_build
 
 ACLOCAL_AMFLAGS = -I gl/m4 -I m4
 
@@ -19,14 +17,11 @@ DEFS = -DLOCALEDIR=\"$(localedir)\"
 
 dist-hook:
        make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec
-       rm -rf `find $(distdir) -name .svn`
+       echo ${VERSION} >$(distdir)/release
 
 install-root:
        cd plugins-root && $(MAKE) $@
 
-tap:
-       cd @TAP_DIR@ && $(MAKE)
-
 test test-debug:
        cd lib && $(MAKE) $@
        if test "$(PERLMODS_DIR)" != ""; then cd perlmods && $(MAKE) $@; fi
@@ -62,3 +57,4 @@ THANKS: THANKS.in
 
 pkgclean:
        rm -rf $(BUILDDIR) $(PACKDIR)
+