Skip to content

Commit b047d2a

Browse files
committed
Seperate pdbs out into their own file.
1 parent 4c0b6c3 commit b047d2a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

make-release.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,17 @@ releasepath=thtk-bin-$1
99
echo Generating $releasepath
1010
rm -rf $releasepath
1111
mkdir $releasepath
12+
rm -rf $releasepath-pdbs
13+
mkdir $releasepath-pdbs
1214

1315
for i in thanm thecl thdat thmsg; do
1416
echo $i
1517
groff -mdoc -Tutf8 $i/$i.1 | perl -pe 's/\e\[?.*?[\@-~]//g' | unix2dos > $releasepath/README.$i.txt
16-
cp build/$i/RelWithDebInfo/$i.{exe,pdb} $releasepath/
18+
cp build/$i/RelWithDebInfo/$i.exe $releasepath/
19+
cp build/$i/RelWithDebInfo/$i.exe $releasepath-pdbs/
1720
done
18-
cp build/thtk/RelWithDebInfo/thtk.{dll,pdb} $releasepath/
21+
cp build/thtk/RelWithDebInfo/thtk.dll $releasepath/
22+
cp build/thtk/RelWithDebInfo/thtk.pdb $releasepath-pdbs/
1923
cp "$(cygpath "$VSSDK140Install")/../VC/redist/x86/Microsoft.VC140.OPENMP/vcomp140.dll" $releasepath/
2024

2125
copy_doc() {
@@ -27,3 +31,4 @@ copy_doc() {
2731
copy_doc COPYING.{bison,flex,libpng,zlib} COPYING README NEWS
2832

2933
zip -r -9 $releasepath.zip $releasepath
34+
zip -r -9 $releasepath-pdbs.zip $releasepath-pdbs

0 commit comments

Comments
 (0)