-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked boilerplate and spike for pdf-ication (WIP)
Signed-off-by: Stefan Hagen <stefan@hagen.link>
- Loading branch information
Showing
31 changed files
with
1,651 additions
and
531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
.DEFAULT_GOAL := build | ||
.PHONY: build | ||
.PHONY: build pdf | ||
build: | ||
bin/volatile.py | ||
cp -a build/tmp.md ../share/csaf-v2.1-draft.md | ||
pandoc -f gfm+definition_lists -t html build/tmp.md --columns=345 --css style/base.css --css style/skin.css --standalone -o build/tmp.html | ||
bin/toccata.py | ||
timeout 2 tidy -config etc/tidy-config.txt build/injected.html -ashtml | sed 's/<!\[CDATA\[//g; s/\]\]>//g;' > ../share/csaf-v2.1-draft.html | ||
git status | ||
|
||
pdf: | ||
bin/lapidify.py | ||
mkdir -p build/render/pdf | ||
cp -a build/bookmatter.tex.in build/render/pdf/ | ||
cp -a build/driver.tex.in build/render/pdf/ | ||
cp -a build/metadata.tex.in build/render/pdf/ | ||
cp -a build/setup.tex.in build/render/pdf/ | ||
cd build/render/pdf && liitos render ../../ -t csaf -f pdf -p -l "etiketti -e" && open this.pdf && cd - |
Oops, something went wrong.