mirror of
https://github.com/nigels-com/glew.git
synced 2025-02-20 07:30:43 +00:00
Create bin and lib dir for dist-src, do dos2unix/unix2dos for .pm and .rc files too
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@579 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
a62f07a20c
commit
15471cbd9f
6
Makefile
6
Makefile
@ -213,6 +213,8 @@ dist-win32:
|
||||
dist-src:
|
||||
$(RM) -r $(TARDIR)
|
||||
mkdir -p $(TARDIR)
|
||||
mkdir -p $(TARDIR)/bin
|
||||
mkdir -p $(TARDIR)/lib
|
||||
cp -a auto $(TARDIR)
|
||||
$(RM) -Rf $(TARDIR)/auto/registry
|
||||
cp -a build $(TARDIR)
|
||||
@ -239,6 +241,8 @@ dist-src:
|
||||
find $(TARDIR) -name '*.pl' | xargs unix2dos
|
||||
find $(TARDIR) -name 'Makefile' | xargs unix2dos
|
||||
find $(TARDIR) -name '*.in' | xargs unix2dos
|
||||
find $(TARDIR) -name '*.pm' | xargs unix2dos
|
||||
find $(TARDIR) -name '*.rc' | xargs unix2dos
|
||||
rm -f ../$(DIST_SRC_ZIP)
|
||||
cd .. && zip -rv9 $(DIST_SRC_ZIP) $(DIST_DIR)
|
||||
dos2unix $(TARDIR)/config/*
|
||||
@ -252,6 +256,8 @@ dist-src:
|
||||
find $(TARDIR) -name '*.pl' | xargs dos2unix
|
||||
find $(TARDIR) -name 'Makefile' | xargs dos2unix
|
||||
find $(TARDIR) -name '*.in' | xargs dos2unix
|
||||
find $(TARDIR) -name '*.pm' | xargs dos2unix
|
||||
find $(TARDIR) -name '*.rc' | xargs dos2unix
|
||||
cd .. && env GZIP=-9 tar cvzf $(DIST_SRC_TGZ) $(DIST_DIR)
|
||||
|
||||
extensions:
|
||||
|
Loading…
Reference in New Issue
Block a user