diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2025-05-20 18:44:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2025-05-20 18:44:34 -0300 |
commit | 946dea4f6d153c04d31589c610141c96b0f39c12 (patch) | |
tree | 6a399e4eed46af042ed338015d85e931cfe1d8a5 /Makefile.env | |
parent | 8ec513e5b26f0043cb09ad4dc245076554c0fe47 (diff) | |
download | slides-master.tar.gz slides-master.tar.bz2 |
Diffstat (limited to 'Makefile.env')
-rw-r--r-- | Makefile.env | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Makefile.env b/Makefile.env index ddc2af5..6ed6a01 100644 --- a/Makefile.env +++ b/Makefile.env @@ -1,10 +1,21 @@ +# +# Misc Makefile +# + +all: submodules readme index.html index.pdf + +submodules: + @test -s .gitmodules && git submodule update --init --recursive + readme: @pandoc README.md -o README.html -index: - @pandoc -V theme=moon -s --mathjax -t revealjs index.md -o index.html - web_deploy: @rsync -avz --delete ./ slides:/var/sites/slides/site/ +# PDF +%.pdf: %.md + @echo Building $@... + @pandoc -t beamer index.md -o index.pdf + publish: readme web_deploy |