-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bc127d
commit a36a315
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
### | ||
# ======================================================================= | ||
# ····Y88b···d88P················888b·····d888·d8b······················· | ||
# ·····Y88b·d88P·················8888b···d8888·Y8P······················· | ||
# ······Y88o88P··················88888b·d88888··························· | ||
# ·······Y888P··8888b···88888b···888Y88888P888·888·88888b·····d88b······· | ||
# ········888······"88b·888·"88b·888·Y888P·888·888·888·"88b·d88P"88b····· | ||
# ········888···d888888·888··888·888··Y8P··888·888·888··888·888··888····· | ||
# ········888··888··888·888··888·888···"···888·888·888··888·Y88b·888····· | ||
# ········888··"Y888888·888··888·888·······888·888·888··888··"Y88888····· | ||
# ·······························································888····· | ||
# ··························································Y8b·d88P····· | ||
# ···························································"Y88P"······ | ||
# ======================================================================= | ||
# | ||
# ----------------------------------------------------------------------- | ||
# Author : 焱铭 | ||
# Date : 2024-02-28 19:48:44 +0800 | ||
# LastEditTime : 2024-02-28 20:25:52 +0800 | ||
# Github : https://github.com/YanMing-lxb/ | ||
# FilePath : /GUET_Thesis_LaTeX/makefile.sh | ||
# Description : | ||
# ----------------------------------------------------------------------- | ||
### | ||
|
||
#!/bin/bash | ||
|
||
# 如果没有输入参数,则直接执行 python3 ./pytexmk.py | ||
if [ $# -eq 0 ]; then | ||
python3 ./pytexmk.py | ||
exit | ||
fi | ||
|
||
# 拼接参数为一个字符串 | ||
args="$1" | ||
shift | ||
while [ -n "$1" ]; do | ||
args="$args $1" | ||
shift | ||
done | ||
|
||
# 运行 makefile | ||
python3 ./pytexmk.py $args |