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