Skip to content

Commit 60929d3

Browse files
committed
adopt Makefile.style2
1 parent 39382f1 commit 60929d3

File tree

5 files changed

+318
-166
lines changed

5 files changed

+318
-166
lines changed

notebooks/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
all: toc style prune artefacts book
1111

1212
include Makefile.book2
13-
include Makefile.style
13+
include Makefile.style2
1414
include Makefile.prune
1515

1616
# specific to exos

notebooks/Makefile.style

Lines changed: 0 additions & 33 deletions
This file was deleted.

notebooks/Makefile.style2

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
########## STYLE
2+
# we keep 2 style files:
3+
#
4+
# _static/style_jb2.css: a common file for all projects
5+
# _static/style_local.css: additions specific to this project
6+
#
7+
# this way we can keep the common style file in sync between all projects
8+
# using byte-comparison tools
9+
#
10+
# (it is recommended to create an empty _static/style_local.css
11+
# file if needed, to avoid errors in the build process)
12+
13+
14+
style: _static/style.css
15+
16+
_static/style.css: _static/style_jb2.css _static/style_local.css
17+
(echo '/* autogenerated, DO NOT EDIT ME ! - edit style_jb2.css or style_local.css instead */'; \
18+
cat $^ ) > $@
19+
20+
.PHONY: style

notebooks/_static/style_common.css

Lines changed: 0 additions & 132 deletions
This file was deleted.

0 commit comments

Comments
 (0)