From 09e9dc7e347410f97fe01a7f14d4b82513f75117 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 12 Aug 2021 11:24:18 +0300 Subject: [PATCH] tweaking... Signed-off-by: Alex A. Naanou --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6bcc1be..f0d8bdd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ #---------------------------------------------------------------------- -TEX := lualatex +ARGS := + +TEX := lualatex $(ARGS) @@ -41,10 +43,11 @@ texToDoc = \ $(TEX) $< > /dev/null +# NOTE: .sty and .cls are essentially the same in terms of documentation +# generation... %.tex: %.sty $(call texToDoc,$<,$@) - %.tex: %.cls $(call texToDoc,$<,$@)