Groupement des documents générés.
This commit is contained in:
parent
0f901eaac1
commit
419533c8bc
|
@ -1,2 +1,3 @@
|
|||
.auctex-auto/
|
||||
build/
|
||||
/documents/
|
||||
|
|
|
@ -7,6 +7,7 @@ DOCUMENTS := \
|
|||
$(patsubst build/%.tex,build/%_notes.pdf,$(SOURCES))
|
||||
|
||||
all: $(DOCUMENTS)
|
||||
mkdir -p ../documents && mv $^ ../documents
|
||||
|
||||
build:
|
||||
mkdir build
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
REAL_COMMAND=$(readlink -f "$0")
|
||||
|
||||
cd "$(dirname "$REAL_COMMAND")" || exit 1
|
||||
|
||||
find . -type f -name Makefile -exec dirname -z "{}" \; \
|
||||
| sort -zu \
|
||||
| sed -z 's/$/\n/' \
|
||||
| while read -r d; do cd "$d"; make all; cd -; done
|
Loading…
Reference in New Issue