Commit e5935e84 authored by liziwl's avatar liziwl
Browse files

update make

parent 7139462c
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ else
	RM = rm -f
endif

.PHONY: all all-dev clean cleanall distclean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE
.PHONY: all all-dev clean cleanall thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE

thesis: $(THESIS).pdf

@@ -52,13 +52,10 @@ clean:
	-@$(RM) -rf *~ main-survey.* main-translation.* _markdown_sustechthesis* sustechthesis.markdown.* _markdown_thuthesis* thuthesis.markdown.*

cleanall: clean
	-@$(RM) $(CLSFILE)
	-@$(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}'; \