diff --git a/Makefile.am b/Makefile.am index e914c9c767..f4b67cbc8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,9 @@ EXTRA_DIST = \ stripchart \ INSTALL LICENSE +# the perl line below gets rid of '\r' characters because MSVC barfs at them. + dist-hook: rm -rf `find $(distdir) -name CVS -prune` rm -rf `find $(distdir) -name .backup -prune -o -name *~` - cd $(distdir)/win_build && perl -pi.bak -e 'tr /\r//d' boinc.dsw */*.dsp + cd $(distdir)/win_build && perl -pi.bak -e 'tr /\r//d' boinc.dsw *.dsp