Skip to content

Commit

Permalink
Removed pdf build dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinyu95 committed Dec 16, 2023
1 parent a9b87cb commit 29992b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ all: cn en
BOOK-CN := $(wildcard *-zh-cn.tex)
BOOK-EN := $(wildcard *-en.tex)

cn en: pdf
cn: $(BOOK-CN:.tex=.pdf)
en: $(BOOK-EN:.tex=.pdf)

Expand All @@ -13,8 +12,8 @@ TEX_FLAGS =

CHAPTERS-CN := $(shell egrep -l documentclass $$(find . -name '*-zh-cn.tex' -a \! -name 'algoxy-*.tex'))
CHAPTERS-EN := $(shell egrep -l documentclass $$(find . -name '*-en.tex' -a \! -name 'algoxy-*.tex'))

chapters: chapters-cn chapters-en
chapters-cn chapters-en: pdf
chapters-cn: $(CHAPTERS-CN:.tex=.pdf)
chapters-en: $(CHAPTERS-EN:.tex=.pdf)

Expand All @@ -31,4 +30,4 @@ force-en:
clean:
git clean -fdx

.PHONY: all cn en pdf chapters chapters-cn chapters-en
.PHONY: all cn en chapters chapters-cn chapters-en

0 comments on commit 29992b8

Please sign in to comment.