unexist.dev

Changeset 4:b2e1993430e4

Updated permissions and added pdf building
author unexist
date Mon, 01 Mar 2021 11:12:30 +0100
parents db676078788b
children 9e2a6e0e961e
files Makefile pom.xml
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Feb 28 14:39:42 2021 +0100
+++ b/Makefile	Mon Mar 01 11:12:30 2021 +0100
@@ -10,6 +10,23 @@
 	@echo
 
 # Docs
+PDFOUT := ARC42.pdf
+
+pdf:
+	asciidoctor-pdf src/main/asciidoc/arc42-template.adoc -D . -o $(PDFOUT) -a imagesdir=images
+
+	@echo
+	@echo "******************************************************"
+	@echo "*                                                    *"
+	@echo "* Documentation can be found here:                   *"
+	@echo "* $(PDFOUT)                                          *"
+	@echo "*                                                    *"
+	@echo "******************************************************"
+	@echo
+
+open-pdf:
+	open $(PDFOUT)
+
 open:
 	open ./target/static/documentation/arc42-template.html