diff --git a/Makefile b/Makefile index 3b4121b2f9..9d0092f74c 100644 --- a/Makefile +++ b/Makefile @@ -17,11 +17,18 @@ wordcheck: fixup: for i in $(MDS); do ./lang.sh $$i; done -uni.md: uni.pl $(MDS) +uni.md: uni.pl $(MDS) SUMMARY.md ./uni.pl SUMMARY.md >$@ -pdf: uni.md +everything-curl.pdf: uni.md pandoc -o everything-curl.pdf pdf.txt uni.md --toc +pdf: everything-curl.pdf + +everything-curl.epub: uni.md + pandoc -o everything-curl.epub --epub-cover-image=cover.jpg epub.txt uni.md + +epub: everything-curl.epub + clean: rm -f uni.md everything-curl.pdf diff --git a/epub.txt b/epub.txt new file mode 100644 index 0000000000..4631832b13 --- /dev/null +++ b/epub.txt @@ -0,0 +1,6 @@ +--- +title: Everything curl +author: Daniel Stenberg +rights: Creative Commons Attribution 4.0 International +language: en-US +...