From 919f02fb3d0838d3d7aa74d7e2d7fc6558536706 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 15 Nov 2021 18:27:46 +0300 Subject: [PATCH] makefile docs and cleanup... Signed-off-by: Alex A. Naanou --- Makefile | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 0744c41..d040a4e 100644 --- a/Makefile +++ b/Makefile @@ -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 + + #----------------------------------------------------------------------