d
This commit is contained in:
18
c/ext/uthash/doc/Makefile
Normal file
18
c/ext/uthash/doc/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user