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,$<,$@)