1
0
Files
research-portable-memory/c/ext/uthash/doc/Makefile
Михаил Капелько 4e09f4e980 d
2024-03-19 22:26:27 +03:00

19 linhas
334 B
Makefile

HTML=$(patsubst %.txt,%.html,$(wildcard *.txt))
all: $(HTML)
# when each target of a multi-target rule has its own prereq
# we use a static pattern rule.
$(HTML): %.html: %.txt
asciidoc -a toc2 $<
TMP=/tmp/uthash-gh-pages
stage:
mkdir -p ${TMP}
rm -if ${TMP}/*
cp *.html *.css *.png ${TMP}
.PHONY: clean
clean:
$(RM) $(HTML)