Merge pull request #249 from hendricius/makefile_fixes

Makefile fixes
This commit is contained in:
cedounet
2023-10-04 09:21:22 +01:00
committed by GitHub

View File

@@ -6,7 +6,13 @@ CLEAN := latexmk -cd -lualatex -c -use-make
CHECK_1 := lacheck
CHECK_2 := chktex
# we want bash as shell
SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi; fi)
ifdef DEBUG
LATEX += -diagnostics
EBOOK += -a debug
WEBSITE += -a debug
endif
@@ -253,6 +259,8 @@ quick_ebook: cover/cover-page.xbb # run latex only once no biber, refe etc..
show_tools_version: # Show version of tools used on the build machine
- git log -n 1
@echo ""
- ${SHELL} --version
@echo ""
- latexmk --version
@echo ""
- lualatex --version