File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ sed "s/cppreference\.chm/cppreference-zh-${VERSION}\.chm/" cppreference.hhp > "c
6565# Compile and package UTF-8 version
6666" ${HHC} " " cppreference-zh-${VERSION} .hhp"
6767" ${_7Z} " a -mx9 " cppreference-zh-${VERSION} -chm-project.7z" " cppreference-zh-${VERSION} .hhp" cppreference.{hhc,hhk} hh{a.dll,c.exe} chmhelp/*
68+ tar caf " cppreference-zh-${VERSION} -chm-project.tar.xz" " cppreference-zh-${VERSION} .hhp" cppreference.{hhc,hhk} hh{a.dll,c.exe} chmhelp/*
6869
6970# Convert HTML to GBK
7071mv chmhelp chmhelp1
@@ -81,4 +82,5 @@ sed "s/cppreference\.chm/cppreference-zh-${VERSION}-gbk\.chm/" cppreference.hhp
8182
8283# Compile and package GBK version
8384" ${HHC} " " cppreference-zh-${VERSION} -gbk.hhp"
84- " ${_7Z} " a -mx9 " cppreference-zh-${VERSION} -chm-project-gbk.7z" " cppreference-zh-${VERSION} -gbk.hhp" cppreference.{hhc,hhk} hh{a.dll,c.exe} chmhelp/*
85+ " ${_7Z} " a -mx9 " cppreference-zh-${VERSION} -chm-project-gbk.7z" " cppreference-zh-${VERSION} -gbk.hhp" cppreference.{hhc,hhk} hh{a.dll,c.exe} chmhelp/*
86+ tar caf " cppreference-zh-${VERSION} -chm-project-gbk.tar.xz" " cppreference-zh-${VERSION} -gbk.hhp" cppreference.{hhc,hhk} hh{a.dll,c.exe} chmhelp/*
You can’t perform that action at this time.
0 commit comments