diff --git a/Makefile b/Makefile index 2ca20aa..f9281cc 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ -.cmd_ok: - ./check_cmds.sh -%.pdf: %.tex - latexmk -pdf $< -all: .cmd_ok bericht/bericht.pdf +SUBDIRS = bericht +all: + for d in $(SUBDIRS); do \ + (cd $$d; make all) \ + done +www/bericht.pdf: bericht/bericht.pdf cp bericht/bericht.pdf www -clean: - latexmk -CA upload: all rsync -avc www/ lctp@devkid.net:/ diff --git a/bericht/Makefile b/bericht/Makefile new file mode 100644 index 0000000..b557f73 --- /dev/null +++ b/bericht/Makefile @@ -0,0 +1,7 @@ +.cmd_ok: + ./check_cmds.sh +%.pdf: %.tex + latexmk -pdf $< +all: .cmd_ok bericht.pdf +clean: + latexmk -CA diff --git a/check_cmds.sh b/bericht/check_cmds.sh similarity index 100% rename from check_cmds.sh rename to bericht/check_cmds.sh