-
Notifications
You must be signed in to change notification settings - Fork 24
/
Makefile
49 lines (33 loc) · 926 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
VERSION = 3.5.0.2023
FILE_DATE = `date +%Y-%m-%d`
clear:
rm -rf disk
rm -rf build
bks:
rm -rf build/bks disk/bks*
mkdir -p disk
mkdir -p build/bks
cp -r bib build/bks/
cp -r figures build/bks/
rm build/bks/figures/*.psd
cp template.tex build/bks/
cp LZUThesis.cls build/bks/
cd build && mv bks 本科生_${VERSION}_${FILE_DATE} && zip -r ../disk/bks.zip 本科生_${VERSION}_${FILE_DATE}
ls -l disk/
yjs:
rm -rf build/yjs disk/yjs*
mkdir -p disk
mkdir -p build/yjs
cp -r bib build/yjs/
cp -r figures build/yjs/
rm build/yjs/figures/*.psd
cp template-PgD\&PhD.tex build/yjs/template.tex
cp LZUThesis-PgD\&PhD.cls build/yjs/
cd build && mv yjs 研究生_${VERSION}_${FILE_DATE} && zip -r ../disk/yjs.zip 研究生_${VERSION}_${FILE_DATE}
ls -l disk/
all: clear yjs bks
push:
git tag -d 自动打包
git tag 自动打包
git push -u origin_github --tags -f
git push -u origin --tags -f