mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-02 15:19:32 +00:00
contrib/static-html: find static html files by comment
This commit is contained in:
parent
c5c9f869d2
commit
7f0da6311b
4 changed files with 6 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
# Makefile
|
||||
|
||||
HTML := $(wildcard *.html)
|
||||
STATIC_HTML := $(shell grep -xl '<!-- static html //-->' *.html)
|
||||
|
||||
.PHONY: all docs
|
||||
|
||||
all: docs
|
||||
|
||||
docs: static-html.sh $(HTML)
|
||||
./static-html.sh $(HTML)
|
||||
docs: static-html.sh $(STATIC_HTML)
|
||||
./static-html.sh $(STATIC_HTML)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue