Skip to content

Commit

Permalink
Makefile: build epub
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Dec 14, 2023
1 parent 71a2ca0 commit 14795ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ uni.md: uni.pl $(MDS)
pdf: uni.md
pandoc -o everything-curl.pdf pdf.txt uni.md --toc

epub: uni.md
pandoc -o everything-curl.epub --epub-cover-image=cover.jpg epub.txt uni.md

clean:
rm -f uni.md everything-curl.pdf
6 changes: 6 additions & 0 deletions epub.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Everything curl
author: Daniel Stenberg
rights: Creative Commons Attribution 4.0 International
language: en-US
...

0 comments on commit 14795ce

Please sign in to comment.