summaryrefslogtreecommitdiff
path: root/Makefile
blob: caa4162c3dd202712752a2d66c1205735e751ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUBDIRS = kernel-devel linux-basics realtime application-devel flash-memory protocols frameworks

default:
	make all

all clean::
	for dir in $(SUBDIRS) ; do \
		(cd $$dir && make $@); \
	done

pdf::
	rm -rf pdf
	mkdir -p pdf/pres
	mkdir -p pdf/handout
	mkdir -p pdf/hints
	find . -name pres_*.pdf | xargs cp -t pdf/pres
	find . -name hints_*.pdf | xargs cp -t pdf/hints
	find . -name handout_*.pdf | xargs cp -t pdf/handout
	cd pdf/pres && \
	pdfsam-console -o `pwd`/../pres.pdf -d `pwd` concat
	cd pdf/hints && \
	pdfsam-console -o `pwd`/../hints.pdf -d `pwd` concat
	cd pdf/handout && \
	pdfsam-console -o `pwd`/../handout.pdf -d `pwd` concat