Commit c15b9fe3 authored by aggsol's avatar aggsol

add book Makefile

parent 9a8591bd
......@@ -5,7 +5,6 @@ CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
......
.SUFFIXES: .pdf .html .adoc .docx .odt
.PHONY: all book clean sections
all: book sections
book: book.html book.docx
sections: sections.html
%.pdf: %.adoc
asciidoctor-pdf -o $@ $<
%.html: %.adoc
asciidoctor -a stylesheet! -b html -o $@ $<
%.docx: %.html
pandoc -f html -t docx -o $@ $<
%.odt: %.html
pandoc -f html -t odt -o $@ $<
clean:
rm -fv *.pdf *.html *.docx *.rtf *.odt
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment