From: vados-dev Date: Fri, 6 Mar 2026 15:25:49 +0000 (+0300) Subject: Auto-commit: Makefile updated on 3/6/2026 X-Git-Tag: v0.0.1~7 X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=aa91edffa0daf065497b4128d2298000fb107258;p=Mikrotiks%2Fros.vados.ru.git Auto-commit: Makefile updated on 3/6/2026 --- diff --git a/Makefile b/Makefile index 2c3e577b9..f343ca80d 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ BUILD_DIR = $(shell pwd) BIN_DIR = bin -#COMMITINFO := $(wildcard bin/commitinfo.sh) +commitinfo.sh := $(wildcard bin/commitinfo.sh) HTML_DIR = html ALL_RSC := $(wildcard html/*.rsc html/*/*.rsc) -GLOB_FUNC := $(wildcard html/AM-GlobalFunc.rsc) +GLOB_RSC := $(wildcard html/AM-GlobalFunc.rsc) DATE ?= $(shell (date '+%T %d.%m.%Y')) DTSTAMP ?= $(shell (date '+%Y%d%m%H%M%S')) @@ -48,24 +48,27 @@ sed \ < $@ endef -.PHONY: all checksums commit diff commitinfo $(GLOB_FUNC) clean +.PHONY: all checksums commit diff rsc clean #$(COMMITINFO) gitcheck clean # docs rsc clean -all: checksums commit comminfo +all: checksums commit rsc checksums: checksums.json checksums.json: bin/checksums.sh $(ALL_RSC) bin/checksums.sh > html/tmp/$@ -commitinfo: $(GLOB_FUNC) +commitinfo: $(GLOB_RSC) -.PHONY: $(GLOB_FUNC) -$(GLOB_FUNC): - $(runsed) $@< > $@<~ +$(GLOB_RSC): $(commitinfo.sh) + $ $@< > $@<~ mv $@<~ $@< +#$(GLOB_FUNC): +# $(runsed) $@< > $@<~ +# mv $@<~ $@< + gitcheck: check-uncommitted