Les fichiers pour la démo faite devant ppp - retour accueil
git clone git://bebou.netlib.re/prez-ppp
Log | Files | Refs | README |
commit d327968b851269f865cc4493a26ae3385b0154d2 parent f1a8ad5f550b35fa514ec96dca462da7435c33d9 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Fri, 13 Sep 2024 14:38:41 +0200 bdd -> db Diffstat:
M | contents/index.sh | | | 2 | +- |
M | makefile | | | 10 | +++++----- |
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/contents/index.sh b/contents/index.sh @@ -11,7 +11,7 @@ Recordings for the latest ppp event held at AZDAZD endsection -find bdd -name '*.tsv' | xargs cat | +find db -name '*.tsv' | xargs cat | sort -u | sort -t ' ' -nk4 | tsv2anything ./layouts/audio | save main diff --git a/makefile b/makefile @@ -6,11 +6,11 @@ annexes != find contents -type f -not -name '*.sh' pageshtml = ${sources:contents/%.sh=public/%.html} annexescibles = ${annexes:contents/%=public/%} -bdds = ${audio:contents/%.mp3=bdd/%.tsv} +dbs = ${audio:contents/%.mp3=db/%.tsv} -all: exec ${pageshtml} ${annexescibles} ${bdds} +all: exec ${pageshtml} ${annexescibles} ${dbs} -clean:; rm -r public/* bdd/* +clean:; rm -r public/* db/* exec:; chmod +x ${sources} @@ -20,11 +20,11 @@ test : all stop : ps -aux | grep 'busybox httpd .*-p.*1412' | grep -v 'grep' | awk '{print $$2}' | xargs kill -bdd/%.tsv : contents/%.mp3 maketsv +db/%.tsv : contents/%.mp3 maketsv @mkdir -p $(shell dirname $@) ./maketsv $< > $@ -public/%.html : contents/%.sh page layouts/html ${bdds} layouts/audio +public/%.html : contents/%.sh page layouts/html ${dbs} layouts/audio mkdir -p $(shell dirname $@); $< > $@ public/% : contents/%