mirror of https://github.com/CGAL/cgal
remove mention of doc_tex in developer scripts
This commit is contained in:
parent
0fa2cacb60
commit
c941961373
|
|
@ -64,7 +64,7 @@ if [ ! -f INSTALL ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
licensecheck -r * -c $CHECK_PATTERN | grep -Ev ': L?GPL \(v3 or later\)' | \
|
licensecheck -r * -c $CHECK_PATTERN | grep -Ev ': L?GPL \(v3 or later\)' | \
|
||||||
grep -v "^$DIR/\|^include/CGAL/CORE/\|^include/CGAL/OpenNL/\|^src/CGAL_Core/\|^src/CGAL_ImageIO/\|^config/support/\|test/\|^Packages/\|^developer_scripts\|^doc_tex/\|^winutils/\|^cmake/platforms" | sort >$PREFIX1 || true
|
grep -v "^$DIR/\|^include/CGAL/CORE/\|^include/CGAL/OpenNL/\|^src/CGAL_Core/\|^src/CGAL_ImageIO/\|^config/support/\|test/\|^Packages/\|^developer_scripts/\|^winutils/\|^cmake/platforms" | sort >$PREFIX1 || true
|
||||||
|
|
||||||
echo Note that files in the following directories are ignored:
|
echo Note that files in the following directories are ignored:
|
||||||
echo include/CGAL/CORE, include/CGAL/OpenNL,
|
echo include/CGAL/CORE, include/CGAL/OpenNL,
|
||||||
|
|
|
||||||
|
|
@ -288,51 +288,6 @@ EOF
|
||||||
chdir '../..' or die;
|
chdir '../..' or die;
|
||||||
}
|
}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
|
||||||
# set the version information in the doc_tex/version.tex #
|
|
||||||
#-----------------------------------------------------------------------#
|
|
||||||
|
|
||||||
sub create_version_tex_file()
|
|
||||||
{
|
|
||||||
chdir "$RELEASEDIR/$VERSION/doc_tex" or die;
|
|
||||||
open(TEMPFILE, ">tempfile") or die;
|
|
||||||
#if VERSION starts with CGAL-, we remove "CGAL-" from version
|
|
||||||
#the $newver variable will store the right version
|
|
||||||
if ($result = $VERSION =~ /CGAL-(.*)/){
|
|
||||||
$newver = $1;
|
|
||||||
} else {
|
|
||||||
$newver = $VERSION;
|
|
||||||
}
|
|
||||||
|
|
||||||
# And here we also strip the -I- (or -Ic-)... part to get the public version number
|
|
||||||
if ($result = $VERSION =~ /CGAL-(.*)-Ic?-/){
|
|
||||||
$publicver = $1;
|
|
||||||
} else {
|
|
||||||
$publicver = $VERSION;
|
|
||||||
}
|
|
||||||
|
|
||||||
print TEMPFILE << 'EOF';
|
|
||||||
%% This file is automatically created by create_internal_release.
|
|
||||||
%% Do not edit manually.
|
|
||||||
|
|
||||||
EOF
|
|
||||||
print TEMPFILE "\\gdef\\cgalversion{$publicver}\n";
|
|
||||||
print TEMPFILE "\\gdef\\cgalinternalversion{$newver}\n";
|
|
||||||
|
|
||||||
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
|
|
||||||
|
|
||||||
my @months = ( "January", "February", "March", "April",
|
|
||||||
"May", "June", "July", "August", "September",
|
|
||||||
"October", "November", "December" );
|
|
||||||
|
|
||||||
print TEMPFILE "\\gdef\\cgalversiondate{$mday $months[$mon] ", 1900 + $year, "}\n";
|
|
||||||
|
|
||||||
close TEMPFILE || die "Error closing temporary file: $!\n";
|
|
||||||
move("tempfile", 'version.tex');
|
|
||||||
chdir '../..' or die;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------------------------------------#
|
#---------------------------------------------------------------#
|
||||||
# CreateExampleTestDirs
|
# CreateExampleTestDirs
|
||||||
#---------------------------------------------------------------#
|
#---------------------------------------------------------------#
|
||||||
|
|
@ -656,7 +611,6 @@ sub main(){
|
||||||
CreateDemoTestDirs();
|
CreateDemoTestDirs();
|
||||||
CreateExampleTestDirs();
|
CreateExampleTestDirs();
|
||||||
create_version_file();
|
create_version_file();
|
||||||
#create_version_tex_file();
|
|
||||||
#make_testscripts();
|
#make_testscripts();
|
||||||
make_testscripts_for_cmake();
|
make_testscripts_for_cmake();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,7 @@ if [ -n "$DO_PUBLIC" ]; then
|
||||||
mv ${release_name} $public_release_name
|
mv ${release_name} $public_release_name
|
||||||
|
|
||||||
cd ${public_release_name}
|
cd ${public_release_name}
|
||||||
rm -rf bench* Bench* test package_info developer_scripts doc doc_tex winutils include/CGAL/Test include/CGAL/Testsuite/
|
rm -rf bench* Bench* test package_info developer_scripts doc winutils include/CGAL/Test include/CGAL/Testsuite/
|
||||||
rm -f examples/*/cgal_test* demo/*/cgal_test*
|
rm -f examples/*/cgal_test* demo/*/cgal_test*
|
||||||
find . -name .scm-urls -exec rm '{}' '+'
|
find . -name .scm-urls -exec rm '{}' '+'
|
||||||
rm -f .scm-branch
|
rm -f .scm-branch
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@ def get_internal_package_files_list(package_dir)
|
||||||
'dont_submit',
|
'dont_submit',
|
||||||
'maintainer',
|
'maintainer',
|
||||||
'description.txt',
|
'description.txt',
|
||||||
'doc_tex',
|
|
||||||
'.svn'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
dont_submit_file = package_dir + '/dont_submit'
|
dont_submit_file = package_dir + '/dont_submit'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue