Welcome to little lamb

Code » qmdoc » commit f09a34b

project.mk: Forgot to include no-toc.css

author Olivier Brunel
2023-01-12 19:44:20 UTC
committer Olivier Brunel
2023-01-12 19:44:20 UTC
parent 699cd378fc1799fc3d58b5b72dbf29da9b3e2ee1

project.mk: Forgot to include no-toc.css

project.mk +8 -3

diff --git a/project.mk b/project.mk
index 63ce618..c7f7d5b 100644
--- a/project.mk
+++ b/project.mk
@@ -1,10 +1,15 @@
 BINS = qmdoc
 CSS = css/struct.css css/common.css css/light.css css/dark.css
+CSS_NOTOC = css/no-toc.css
 
-all: qmdoc.css
-CLEAN += qmdoc.css
+all: qmdoc.css no-toc.css
+CLEAN += qmdoc.css no-toc.css
 
 qmdoc.css: $(CSS)
-	$(_CSS) cat $(CSS) > $@
+
+no-toc.css: $(CSS_NOTOC)
+
+%.css:
+	$(_CSS) cat $^ > $@
 
 _CSS = $(if $(V),,$(call say,"  CSS ")$@;)