mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
For dist-src target, ensure Makefile line-endings are platform consistant.
This commit is contained in:
parent
f396b2e48d
commit
6075e477b8
2
Makefile
2
Makefile
@ -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/*
|
||||
|
Loading…
Reference in New Issue
Block a user