aboutsummaryrefslogtreecommitdiff
path: root/makeDoc.sh
blob: cb33c1da85801d66ff1e877f8642200f2543fe60 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
rm -f document.md
	array=("Building-and-running-explained.md" "Makefile-explained.md" "Project-structure-explained.md" "Boot-explained.md" "MMU-explained.md" "PSRs-explained.md" "Ramfs-explained.md" "Exception-vector-explained.md" "IRQ-explained.md" "processor-modes-explained.md" "Scheduler-explained.md" "Linker-scripts-explained.md" "Sources.md")
	echo "# Raspberry PI MMU project" >> document.md
	echo "//TODO insert [TOC] here" >> document.md
for file in "${array[@]}"
do
	cat docs/$file >> document.md
done