> > sed s/$/\r/ filename1 > filename2
> 
> We are sort of doing that now (the DSPOUT function). I think it's not
> working the way it should because the head/foot files are Unix.
> 
> 

How about this (I don't have a linux machine to test this on right now):

--- a/Makefile.am       2009-10-09 18:51:25.000000000 -0500
+++ b/Makefile.am       2009-10-09 18:52:22.000000000 -0500
@@ -77,13 +77,13 @@
 
 DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP)
 VCPROJOUT = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ)
 
 $(DSP): win32/msvcproj.head win32/msvcproj.foot Makefile.am
        echo "creating $(DSP)"
-       @(cp $(srcdir)/win32/msvcproj.head $(DSP); \
+       @(cat $(srcdir)/win32/msvcproj.head $(DSPOUT); \
        echo "# Begin Group \"Source Files\"" $(DSPOUT); \
         echo "" $(DSPOUT); \
         echo "# PROP Default_Filter \"cpp;c;cxx\"" $(DSPOUT); \
         win32_srcs='$(WIN32SOURCES)'; \
         sorted_srcs=`for file in $$win32_srcs; do echo $$file; done |
sort`; \
         for file in $$sorted_srcs; do \

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to