File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed 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
65
65
# Compile and package UTF-8 version
66
66
" ${HHC} " " cppreference-zh-${VERSION} .hhp"
67
67
" ${_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/*
68
69
69
70
# Convert HTML to GBK
70
71
mv chmhelp chmhelp1
@@ -81,4 +82,5 @@ sed "s/cppreference\.chm/cppreference-zh-${VERSION}-gbk\.chm/" cppreference.hhp
81
82
82
83
# Compile and package GBK version
83
84
" ${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