Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from uc-python/cleanup-2023
Cleanup for Sep 2023
- Loading branch information
Showing
22 changed files
with
1,220 additions
and
1,361 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,7 +1,22 @@ | ||
slides: slides/.finished | ||
slides/.finished: $(wildcard notebooks/**/*) | ||
bash scripts/generate_slides.sh | ||
touch slides/.finished | ||
IMAGESIN=$(wildcard notebooks/images/*) | ||
IMAGESOUT=$(patsubst notebooks/%,slides/%,$(IMAGESIN)) | ||
NBFILES=$(wildcard notebooks/*-*.ipynb) | ||
HTMLFILES=$(patsubst notebooks/%.ipynb,slides/%.slides.html,$(NBFILES)) | ||
|
||
slides: html | ||
|
||
images: slides/images $(IMAGESOUT) | ||
|
||
slides/images: | ||
mkdir -p slides/images | ||
|
||
$(IMAGESOUT): slides/images/%: notebooks/images/% | ||
cp -a $< $@ | ||
|
||
html: images $(HTMLFILES) | ||
|
||
$(HTMLFILES): slides/%.slides.html: notebooks/%.ipynb | ||
bash scripts/generate_slides.sh $< | ||
|
||
clean: | ||
rm -rf slides/ |
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
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
Oops, something went wrong.