Merge pull request #3798 from sloriot/CGAL-doc_release_from_Ic

Fix for the doc of a release built from an Ic
This commit is contained in:
Laurent Rineau 2019-03-28 14:40:01 +01:00
commit 1f5f1a6ff3
2 changed files with 3 additions and 3 deletions

View File

@ -256,7 +256,7 @@ if (NOT CGAL_CREATED_VERSION_NUM)
#read version.h and get the line with CGAL_VERSION
file(STRINGS "${CGAL_ROOT}/include/CGAL/version.h" CGAL_VERSION_LINE REGEX "CGAL_VERSION ")
#extract release id
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.?[0-9]*(-Ic-)?[0-9]*" CGAL_CREATED_VERSION_NUM "${CGAL_VERSION_LINE}")
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.?[0-9]*" CGAL_CREATED_VERSION_NUM "${CGAL_VERSION_LINE}")
endif()
endif()

View File

@ -66,7 +66,7 @@ The %CGAL Project.
<em>%CGAL User and Reference Manual</em>.
%CGAL Editorial Board, ${CGAL_CREATED_VERSION_NUM} edition, ${CGAL_BUILD_YEAR4}.
[&nbsp;<a href="how_to_cite.html#cgal:eb-${CGAL_RELEASE_YEAR_ID}">bib</a>&nbsp;|
<a href="https://doc.cgal.org/${CGAL_CREATED_VERSION_NUM}/Manual/packages.html">http</a>&nbsp;]
<a href="packages.html">http</a>&nbsp;]
</td>
</tr>
@ -118,7 +118,7 @@ def gen_txt_entry(title, authors, bib, anchor,k):
In <em>%CGAL User and Reference Manual</em>. %CGAL Editorial Board,\n\
${CGAL_CREATED_VERSION_NUM} edition, ${CGAL_BUILD_YEAR4}.\n\
[&nbsp;<a href=\"how_to_cite.html#"+bib+"-${CGAL_RELEASE_YEAR_ID}\">bib</a>&nbsp;| \n\
<a href=\"https://doc.cgal.org/${CGAL_CREATED_VERSION_NUM}/Manual/packages.html#"+anchor+"\">http</a>&nbsp;]\n\
<a href=\"packages.html#"+anchor+"\">http</a>&nbsp;]\n\
\n\
</td>\n\
</tr>\n\n\n"