makefile docs and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2021-11-15 18:27:46 +03:00
parent 4170cff9c5
commit 919f02fb3d

View File

@ -1,4 +1,18 @@
#----------------------------------------------------------------------
#
#
#
# Main targets:
# doc - build class documentation.
# dist - XXX
# install - XXX
#
# Other targets:
# sweep - cleanup auxiliary generated files.
# clean - cleanup repo
#
#
#----------------------------------------------------------------------
# NOTE: this makes things run consistently on different systems including
# things like Android...
@ -11,10 +25,8 @@ ARGS :=
# NOTE: need to run latex two times to build index, the simpler way to
# go is to use latexmk...
#TEX := lualatex $(ARGS)
TEX := latexmk -lualatex $(ARGS)
# Doc generator...
DOC := ./scripts/cls2tex.sh
@ -51,10 +63,6 @@ DOC := ./scripts/cls2tex.sh
doc: photobook.pdf
.PHONY: all
all: doc sweep
# XXX
.PHONY: dist
dist: all
@ -66,6 +74,10 @@ dist: all
install: dist
.PHONY: all
all: doc sweep
#----------------------------------------------------------------------