From 47051015961b236df1042ac75f3f46f425407f97 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 31 Jan 2024 00:55:04 -0800 Subject: [PATCH] fosdem2024_bigint: add continuous target: watches when files changes then rebuilds --- conferences/fosdem2024/fosdem2024_bigint/.latexmkrc | 3 ++- conferences/fosdem2024/fosdem2024_bigint/Makefile | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc b/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc index c70c723fd..949031b0b 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc +++ b/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc @@ -12,4 +12,5 @@ s/latex:\\\([$_{}]\)/\1/g EOS system("$sed_cmd \"$_[0].dia-tex\""); } -$cleanup_includes_cusdep_generated = 1; \ No newline at end of file +$cleanup_includes_cusdep_generated = 1; +$max_repeat = 10; diff --git a/conferences/fosdem2024/fosdem2024_bigint/Makefile b/conferences/fosdem2024/fosdem2024_bigint/Makefile index c3d8f908d..fee384a94 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/Makefile +++ b/conferences/fosdem2024/fosdem2024_bigint/Makefile @@ -1,4 +1,4 @@ -.PHONY: all clean clean-intermediates upload +.PHONY: all clean clean-intermediates upload continuous ARGS=-silent -interaction=nonstopmode -file-line-error -pdf @@ -11,5 +11,8 @@ clean: clean-intermediates: @latexmk $(ARGS) -c +continuous: + @latexmk $(ARGS) -pvc -view=none + upload: all echo "put fosdem2024_bigint.pdf fosdem_2024/fosdem2024_bigint.pdf" | sftp -P 922 ftp@ftp.libre-soc.org -- 2.30.2