Loading Makefile +5 −1 Changes for Makefile: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ else RM = rm -f endif .PHONY: all all-dev clean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE .PHONY: all all-dev clean cleanall distclean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE thesis: $(THESIS).pdf Loading Loading @@ -55,6 +55,10 @@ cleanall: clean -@$(RM) -rf public-test -@$(RM) $(PACKAGE).pdf $(THESIS).pdf distclean: cleanall -@$(RM) $(CLSFILE) -@$(RM) -r dist wordcount : $(THESIS).tex @if grep -v ^% $< | grep -q '\\documentclass\[[^\[]*english'; then \ texcount $< -inc -char-only | awk '/total/ {getline; print "英文字符数\t\t\t:",$$4}'; \ Loading Loading
Makefile +5 −1 Changes for Makefile: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ else RM = rm -f endif .PHONY: all all-dev clean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE .PHONY: all all-dev clean cleanall distclean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE thesis: $(THESIS).pdf Loading Loading @@ -55,6 +55,10 @@ cleanall: clean -@$(RM) -rf public-test -@$(RM) $(PACKAGE).pdf $(THESIS).pdf distclean: cleanall -@$(RM) $(CLSFILE) -@$(RM) -r dist wordcount : $(THESIS).tex @if grep -v ^% $< | grep -q '\\documentclass\[[^\[]*english'; then \ texcount $< -inc -char-only | awk '/total/ {getline; print "英文字符数\t\t\t:",$$4}'; \ Loading