From 44b46fd52b9f10ac3a396c5cab6274137edd5b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 21 Oct 2013 20:47:58 +0200 Subject: [PATCH] durch rekursives Make ersetzt --- Makefile | 13 ++++++------- bericht/Makefile | 7 +++++++ check_cmds.sh => bericht/check_cmds.sh | 0 3 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 bericht/Makefile rename check_cmds.sh => bericht/check_cmds.sh (100%) 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