diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1f7f2a30c9000fca149d531f23bb827b54e75eda..5df38246fa5ca306e19f14bdf221ca1de8d40442 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -73,7 +73,7 @@ jobs:
       
       - name: Zip Release Source
         run: |
-          zip -r njuthesis-$VERSION.zip .vscode chapters/ latexmkrc conf.txsprofile LICENSE Makefile njuthesis-sample.bib njuthesis.cls njuthesis-sample.tex njuvisual.sty README.md
+          zip -r njuthesis-$VERSION.zip .vscode chapters/ conf.txsprofile LICENSE Makefile njuthesis-sample.bib njuthesis.cls njuthesis-sample.tex njuvisual.sty README.md
 
       - name: Zip CTAN Source
         run: |
diff --git a/latexmkrc b/latexmkrc
index 3611c741e5938fdea1dca297a76815274ea65320..dfca5a30838e7765157bd1af11e970af68f45bee 100644
--- a/latexmkrc
+++ b/latexmkrc
@@ -1,13 +1,14 @@
+# Latexmk configuration file for njuthesis documentation.
 # vim: set ft=perl:
 
 # Use XeLaTeX to compile.
 $pdf_mode = 5;
-
 $xelatex = "xelatex -shell-escape -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S";
 $xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S";
 
 $bibtex_use = 1.5;
 
+# Clean auxiliary files .
 $clean_ext = "hd loe ptc run.xml synctex.gz thm xdv";
 
 # Process index.
@@ -25,16 +26,3 @@ $makeindex_silent_switch = "-q";
 
 # Show CPU time used.
 $show_time = 1;
-
-# Process glossary (change history).
-add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
-sub makeglo2gls {
-    system("zhmakeindex -s gglo.ist -o \"$_[0].gls\" \\
-        -t \"$_[0].glg\" \"$_[0].glo\"");
-}
-
-add_cus_dep('nlo', 'nls', 0, 'nlo2nls');
-sub nlo2nls {
-    system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
-}
-push @generated_exts, 'nlo', 'nls';