-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 719 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
IMAGES = $(wildcard images/*.png)
all: bo_training.html
# for the suse theme I'm currently using a custom theme
# custom themes need to reside in the home directory an we can't pass an
# alternative location to asciidoc it seems
# therefore we "make" the theme via symlinks
$(HOME)/.asciidoc/themes/suse/suse.css: ./themes/suse/suse.css ./themes/install.sh
./themes/install.sh
theme: $(HOME)/.asciidoc/themes/suse/suse.css
# slidy backend is part of the standard asciidoc
bo_training.html: bo_training.adoc $(IMAGES) $(HOME)/.asciidoc/themes/suse/suse.css
/usr/bin/asciidoc --backend slidy -a theme=suse bo_training.adoc
clean:
rm bo_training.html
show: bo_training.html
xdg-open bo_training.html 2>/dev/null