forked from nsonnad/base16-ipython-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 689 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 689 Bytes
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
OBJECTS = \
./ipython-2/output \
./ipython-3/output
all: ${OBJECTS}
base16-builder:
git submodule init
git submodule update
tmp/schemes: base16-builder
mkdir -p $(dir $@)
cp -r $</schemes $@
tmp/base16: base16-builder
mkdir -p $(dir $@)
cp $</base16 $@
./ipython-2/output: tmp/base16 tmp/schemes
mkdir -p $@
cp -r ./ipython-2/templates tmp/templates
cd tmp && mkdir -p output && ./base16
cp ./tmp/output/templates/*.css $@
./ipython-3/output: tmp/base16 tmp/schemes
mkdir -p $@
cp -r ./ipython-3/templates tmp/templates
cd tmp && mkdir -p output && ./base16
cp ./tmp/output/templates/*.css $@
rm -rf ./tmp
clean:
rm -rf ./tmp ./ipython-2/output ./ipython-3/output