Skip to content

ci: 更新构建说明#122

Merged
yhwu-is merged 2 commits intoyhwu-is:newfrom
45gfg9:new
Jul 12, 2025
Merged

ci: 更新构建说明#122
yhwu-is merged 2 commits intoyhwu-is:newfrom
45gfg9:new

Conversation

@45gfg9
Copy link
Copy Markdown
Collaborator

@45gfg9 45gfg9 commented Jul 12, 2025

No description provided.

@45gfg9 45gfg9 requested a review from Copilot July 12, 2025 15:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR centralizes and updates the LaTeX build process, simplifies top-level Makefile targets, and refreshes documentation accordingly.

  • Refactor 讲义/Makefile to embed latexmk rules and remove the shared latexmk.mk include
  • Delete the now-redundant latexmk.mk file
  • Simplify root Makefile to only build the main lecture folder and clean outputs
  • Update README.md with streamlined build instructions and Docker usage

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
讲义/Makefile Added local LATEXMK flags, consolidated build/clean targets, removed include
latexmk.mk Removed file; build logic is now in the subdirectory Makefile
README.md Simplified manual build steps, adjusted Docker volume and environment flags
Makefile Pruned unused targets (ans, gh-actions), kept only all and clean
Comments suppressed due to low confidence (1)

README.md:37

  • [nitpick] For readability and consistency with Docker CLI conventions, add spaces between flags and their arguments (e.g., -v "$PWD":/app, -e TERM=xterm).
docker run -v"$PWD":/app -w/app -eTERM=xterm --rm texlive/texlive:TL2023-historic make

Comment thread 讲义/Makefile Outdated
Comment thread 讲义/Makefile Outdated
@yhwu-is yhwu-is merged commit 36d76f5 into yhwu-is:new Jul 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants