Skip to content

Commit 91c6ac7

Browse files
committed
add zip to Makefile
1 parent ec974e5 commit 91c6ac7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY : main cls doc clean all release cleanall FORCE_MAKE
1+
.PHONY : main cls doc clean all release zip cleanall FORCE_MAKE
22

33
MAIN = main
44
CLS = ustcthesis.cls ustcextra.sty
@@ -29,6 +29,12 @@ all : main doc
2929
release : cls doc
3030
latexmk -C
3131
latexmk -c $(DTX)
32+
zip : release
33+
mkdir ustcthesis
34+
cp -r bib chapters figures .latexmkrc main.tex Makefile README.md \
35+
ustcextra.sty ustcthesis.* ustcthesis/
36+
zip -r ../ustcthesis.zip ustcthesis
37+
-rm -rf ustcthesis
3238
cleanall :
3339
latexmk -C
3440
latexmk -C $(DTX)

0 commit comments

Comments
 (0)