Skip to content

Commit

Permalink
Allow running Make jobs in parallel (#51)
Browse files Browse the repository at this point in the history
* Add ability to run Make tasks in parallel

* Attempt to fix sub make command
  • Loading branch information
mattleff authored Jun 10, 2024
1 parent 0796578 commit 329adf0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
10 changes: 0 additions & 10 deletions latex/draft.sh

This file was deleted.

10 changes: 0 additions & 10 deletions latex/generate-icmls.sh

This file was deleted.

6 changes: 6 additions & 0 deletions latex/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ $(ICMLDIR)/%.icml:
--standalone \
--output $(ICMLDIR)/$*.icml

pdfs/%:
+make $(patsubst $(SRCDIR)/%.md,$(DFTDIR)/%.pdf,$(sort $(shell find ../../$* -path "*/02_edit/*" -or -path "*/03_public/*" -name "*.md")))

icmls/%:
+make $(patsubst $(SRCDIR)/%.md,$(ICMLDIR)/%.icml,$(sort $(shell find ../../$* -path "*/03_public/*" -name "*.md")))

#==[ LATEX SOURCECODE - WHOLE BOOK ]============================================

# This target generates the tex sourcecode for the whole book. there is nothing
Expand Down

0 comments on commit 329adf0

Please sign in to comment.