Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F969601
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
903 B
Referenced Files
None
Subscribers
None
Makefile
View Options
default: all
in_file := prezentacja-60min.md
reveal_dir := ./reveal.js
reveal_template := ./template.html
out_dir := ./public
out_html := $(out_dir)/index.html
style_file := ./style.scss
style_out := $(out_dir)/style.css
to_watch := .
$(style_out): $(style_file)
sass --scss $(style_file) $(style_out)
public/source-sans:
wget https://fontlibrary.org/assets/downloads/source-sans-pro/d288e5a9d9111d4041f365469aa2ca97/source-sans-pro.zip
unzip source-sans-pro.zip
mkdir -p public/source-sans
mv source-sans-pro*/* public/source-sans/
rm -rf source-sans-pro*
all: $(style_out) public/source-sans
pandoc --section-divs -t revealjs -s --standalone \
--template $(reveal_template) \
-V reveal_dir=$(reveal_dir) \
$(in_file) -o $(out_html)
watch:
make all && xdg-open $(out_html); while true; do inotifywait -e modify $(to_watch) ; make all; notify-send "build finished" -t 1000; done;
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Sat, Nov 23, 06:59 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547907
Default Alt Text
Makefile (903 B)
Attached To
Mode
rBI Warsztaty z bezpieczeństwa online - prezentacje
Attached
Detach File
Event Timeline
Log In to Comment