Neil Gierman wrote:
> > 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.
That sounds very likely.
> DSP = win32/libssh2.dsp
> VCPROJ = win32/libssh2.vcproj
>
> 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); \
> echo "# Begin Group \"Source Files\"" $(DSPOUT); \
> echo "" $(DSPOUT); \
> echo "# PROP Default_Filter \"cpp;c;cxx\"" $(DSPOUT); \
..
This is really nasty! Let's try to fix it a bit. I'll have a look.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel