remove the individual md ref files

This commit is contained in:
sforman
2023-09-28 11:53:34 -07:00
parent fa4771fea7
commit aeb1eee646
194 changed files with 1588 additions and 5580 deletions
+17
View File
@@ -0,0 +1,17 @@
FUNCDOCS = $(wildcard ../*.md)
TITLE = --metadata title="Thun Function Reference"
TOC = --toc --toc-depth=2
all: mov
FuncRef.html: Function-Reference.md
pandoc -s $(TOC) $(TITLE) --ascii Function-Reference.md -o FuncRef.html
Function-Reference.md: HEADER.md $(FUNCDOCS)
awk 'FNR==1 && NR > 1 {print ""}1' HEADER.md $(FUNCDOCS) > Function-Reference.md
# https://stackoverflow.com/questions/8183191/concatenating-files-and-insert-new-line-in-between-files
# WTF would we do w/o the Internet? Know our tools well?
mov: FuncRef.html
cp -v $? ../../html/