projects
/
lttng-docs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add check and check-VERSION targets
[lttng-docs.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 0271a0db0c21b2794cf26e36664ad09fe10c2053..26b0b6b64e2749c9f9a751d19ee7656593775072 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,6
+3,7
@@
CONF = asciidoc.html5.conf
PREFIX = lttng-docs
ALLVERSIONS = $(sort $(wildcard 2.*))
CONF = asciidoc.html5.conf
PREFIX = lttng-docs
ALLVERSIONS = $(sort $(wildcard 2.*))
+ALLCHECK = $(foreach v, $(ALLVERSIONS), check-$(v))
ASCIIDOC = asciidoc -v -f $(CONF) -a source-highlighter=pygments
RM = rm -rf
ASCIIDOC = asciidoc -v -f $(CONF) -a source-highlighter=pygments
RM = rm -rf
@@
-19,6
+20,11
@@
view-$(1):
xdg-open $(1)/$(PREFIX)-$(1).html
.PHONY: view-$(1)
xdg-open $(1)/$(PREFIX)-$(1).html
.PHONY: view-$(1)
+
+check-$(1): $(1)/$(PREFIX)-$(1).txt $(CONF)
+ python3 tools/check.py $(1)/$(PREFIX)-$(1).txt
+
+.PHONY: check-$(1)
endef
.PHONY: all
endef
.PHONY: all
@@
-27,6
+33,10
@@
all: $(ALLVERSIONS)
$(foreach v,$(ALLVERSIONS),$(eval $(call vrule,$(v))))
$(foreach v,$(ALLVERSIONS),$(eval $(call vrule,$(v))))
+.PHONY: check
+
+check: $(ALLCHECK)
+
.PHONY: clean
clean:
.PHONY: clean
clean:
This page took
0.023613 seconds
and
4
git commands to generate.