aboutsummaryrefslogtreecommitdiff
path: root/makeDoc.sh
blob: c0ea1434d94d0e75fb90b44603f465ce16cf8b82 (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" "Miscellaneous.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