/usr/lib/grass72/include/Make/HtmlRules.make is in grass-dev 7.2.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # common html rules (included by Html.make and GuiScript.make)
htmldesc = $(call run_grass,$(1) --html-description < /dev/null | grep -v '</body>\|</html>' > $(2))
IMGSRC := $(wildcard *.png) $(wildcard *.jpg)
IMGDST := $(patsubst %,$(HTMLDIR)/%,$(IMGSRC))
ifneq ($(strip $(IMGDST)),)
.SECONDARY: $(IMGDST)
endif
$(HTMLDIR)/%.png: %.png | $(HTMLDIR)
$(INSTALL_DATA) $< $@
$(HTMLDIR)/%.jpg: %.jpg | $(HTMLDIR)
$(INSTALL_DATA) $< $@
|