diff --git a/Makefile.am b/Makefile.am index 96ab39a5..581158cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,12 @@ ## Process this file with automake to produce Makefile.in SUBDIRS = plugins-scripts +DOS2UNIX=$(shell which dos2unix || which fromdos) dist-hook: if [ -f ../GLPlugin/lib/Monitoring/GLPlugin.pm ]; then cp -r ../GLPlugin/lib .; fi rm -f t/var/tmp/* rm -f t/var/adm/* - find $(distdir) -type f -exec fromdos -v {} \; + find $(distdir) -type f -exec $(DOS2UNIX) {} \; make