-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
73 lines (63 loc) · 2.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.PHONY: help book clean serve
help:
@echo "Please use 'make <target>' where <target> is one of:"
@echo " install to install the necessary dependencies for jupyter-book to build"
@echo " book to convert the content/ folder into Jekyll markdown in _build/"
@echo " clean to clean out site build files"
@echo " runall to run all notebooks in-place, capturing outputs with the notebook"
@echo " serve to serve the repository locally with Jekyll"
@echo " build to build the site HTML and store in _site/"
@echo " site to build the site HTML, store in _site/, and serve with Jekyll"
runall:
jupyter-book build . --all --keep-going
realclean:
jupyter-book clean . --all
linkcheck:
jupyter-book build . --builder linkcheck
rebuild:
make clean
make build
clean:
# find . -name zbib.ipynb -exec rm {} \;
# find ./FAQS -name '*.ipynb' -exec rm {} \;
# find ./setup -name '*.ipynb' -exec rm {} \;
# find ./elementary_signals -name '*.ipynb' -exec rm {} \;
# find ./dft -name '*.ipynb' -exec rm {} \;
# find ./labs -name '*.ipynb' -exec rm {} \;
# find ./dt_systems -name '*.ipynb' -exec rm {} \;
# find ./fourier_transform -name '*.ipynb' -exec rm {} \;
# find ./fourier_series -name '*.ipynb' -exec rm {} \;
#find ./homework -name '*.ipynb' -exec rm {} \;
#find ./worksheets -name '*.ipynb' -exec rm {} \;
#find ./introduction -name '*.ipynb' -exec rm {} \;
#find ./laplace_transform -name '*.ipynb' -exec rm {} \;
jupyter-book clean .
build:
make assets
jupyter-book build -keep-going .
site:
make clean
make assets
jupyter book build --keep-going .
make portfolio
touch _build/html/.nojekyll
ghp-import --no-jekyll -p -f ./_build/html
portfolio: FORCE
rsync -a --delete labs/ portfolio
assets: FORCE
rsync -av --delete --exclude='*.ipynb' --exclude='*.md' --exclude='.*' --delete-excluded \
dft \
dt_systems \
elementary_signals \
FAQS \
fourier_series \
fourier_transform \
homework \
introduction \
labs \
transfer_functions \
filter_design \
setup \
worksheets \
_assets
FORCE: