Updated TSan suppressions
[libcds.git] / tools / make_distrib.pl
index 9be09f0ab21798d8e578420e2a05ad9aae66bdf3..c2365d4ab463ccea8301650395b471d4f5fc3d7b 100644 (file)
@@ -17,16 +17,17 @@ print "Distrib dir: $DistrDir\n";
 my $GitBranch = get_git_branch();\r
 my $GitRepo = get_git_repo();\r
 print "Clone git: repo=$GitRepo, branch=$GitBranch\n";\r
-`git clone -b $GitBranch $GitRepo $DistrDir` or die "Error cloning branch $GitBranch to $DistrDir\n";\r
+`git clone -b $GitBranch $GitRepo $DistrDir`; # or die "Error cloning branch $GitBranch to $DistrDir\n";\r
 print "Remove $DistrDir/.git directory\n";\r
 `rm -fr $DistrDir/.git`;\r
-`rm -f $DistrDir/.gitignore $DistrDir/tools/brush_cds.pl $DistrDir/tools/make_distrib.pl $DistrDir/tools/make_distrib.bat`;\r
+`rm -f $DistrDir/.gitignore $DistrDir/tools/brush_cds.pl $DistrDir/tools/make_distrib.pl $DistrDir/tools/make_distrib.bat $DistrDir/doxygen/images.odp`;\r
 \r
 print "make copyright...\n" ;\r
 makeCopyright($DistrDir);\r
 \r
 print "patch files...\n";\r
-patch_file("$DistrDir/build/Makefile", 'VERSION=\d+\.\d+\.\d+', "VERSION=$Version" ) ;\r
+patch_file("$DistrDir/build/Makefile", 'VERSION=\d+\.\d+\.\d+', "VERSION=$Version" );\r
+patch_file("$DistrDir/CMakeList.txt", 'PROJECT_VERSION \d+\.\d+\.\d+', "PROJECT_VERSION $Version" );\r
 patch_file("$DistrDir/doxygen/cds.doxy", 'PROJECT_NUMBER\s*=\s*\d+\.\d+\.\d+', "PROJECT_NUMBER = $Version" ) ;\r
 patch_file("$DistrDir/projects/android/jni/Android.mk", 'CDS_LIBRARY_VERSION\s*:=\s*\d+\.\d+\.\d+', \r
    "CDS_LIBRARY_VERSION := $Version" );\r
@@ -68,7 +69,7 @@ sub get_distrib_dir()
 \r
 sub get_git_repo()\r
 {\r
-       return '.';\r
+       return 'git@github.com:khizmax/libcds.git';\r
 }\r
 \r
 sub get_git_branch()\r
@@ -125,10 +126,10 @@ sub processFile( $ )
     Version: $Version\r
 \r
     (C) Copyright Maxim Khizhinsky (libcds.dev\@gmail.com) 2006-$year\r
-    Distributed under the BSD license (see accompanying file license.txt)\r
+    Distributed under the BSD license (see accompanying file LICENSE)\r
 \r
-    Source code repo: http://github.com/khizmx/libcds/\r
-    Download: http://libcds.sourceforge.net/files/\r
+    Source code repo: http://github.com/khizmax/libcds/\r
+    Download: http://sourceforge.net/projects/libcds/files/\r
 */\n" ;\r
                        }\r
                        elsif ( /^\/\/\$\$CDS-\/\*\$\$/ ) {\r