Code

Remove CVS files from distribution
[nagiosplug.git] / Makefile.am
index a4664aab503527caad03fca40346c2a338076814..22b7fe0c98946938279c00ebc0c9174477f71f4a 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
-SUBDIRS = intl lib plugins plugins-scripts plugins-root m4 po
+SUBDIRS = lib plugins plugins-scripts plugins-root m4 po
 
 EXTRA_DIST = config.rpath \
        ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CHANGES CODING FAQ LEGAL \
@@ -16,11 +16,13 @@ DEFS = -DLOCALEDIR=\"$(localedir)\"
 
 dist-hook:
        make THANKS nagios-plugins.spec pkg/fedora/nagios-plugins.spec
+       rm -rf `find $(distdir) -name CVS`
 
 install-root:
        cd plugins-root && $(MAKE) $@
 
 test:
+       cd lib && $(MAKE) test
        cd plugins; $(MAKE) test
        cd plugins-scripts; $(MAKE) test