For dist-src target, ensure Makefile line-endings are platform consistant.

This commit is contained in:
Nigel Stewart 2011-11-23 15:45:21 -06:00
parent f396b2e48d
commit 6075e477b8

View File

@ -319,6 +319,7 @@ dist-src:
find $(TARDIR) -name CVS -o -name .cvsignore | xargs $(RM) -r
find $(TARDIR) -name .svn | xargs $(RM) -r
find $(TARDIR) -name "*.patch" | xargs $(RM) -r
unix2dos $(TARDIR)/Makefile
unix2dos $(TARDIR)/config/*
unix2dos $(TARDIR)/auto/core/*
unix2dos $(TARDIR)/auto/extensions/*
@ -335,6 +336,7 @@ dist-src:
find $(TARDIR) -name '*.rc' | xargs unix2dos
rm -f ../$(DIST_SRC_ZIP)
cd .. && zip -rv9 $(DIST_SRC_ZIP) $(DIST_DIR)
dos2unix $(TARDIR)/Makefile
dos2unix $(TARDIR)/config/*
dos2unix $(TARDIR)/auto/core/*
dos2unix $(TARDIR)/auto/extensions/*