env = Environment()

env.Command("portfolio-new.pdf", "portfolio-new.html", """
	weasyprint $SOURCE $TARGET
		""")


env.Command("portfolio.html", "portfolio.md", """
	pandoc --from markdown \
		--section-divs \
		--to html5 $SOURCE  \
		--standalone \
		--css portfolio.css \
		-o $TARGET
		""")


env.Command("portfolio.pdf", ["portfolio.md", "portfolio.css"], """
	pandoc --from markdown \
		--section-divs \
		--to pdf --pdf-engine weasyprint $SOURCE  \
		--standalone \
		--css portfolio.css \
		-o $TARGET
		""")
