diff options
Diffstat (limited to '_make')
-rw-r--r-- | _make/hedgedoc.mk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/_make/hedgedoc.mk b/_make/hedgedoc.mk index 51badd2..88c8936 100644 --- a/_make/hedgedoc.mk +++ b/_make/hedgedoc.mk @@ -3,27 +3,28 @@ # Copyright 2024, Jonas Smedegaard <dr@jones.dk> # SPDX-License-Identifier: GPL-3+ # -# Setup: In main Makefile... +# Setup: +# in main Makefile... # * set variable PAD_LIST # * set variable PAD_REPLACE if supported and wanted # * include this make snippet # +# Dependencies: +# * hedgedoc <https://github.com/hedgedoc/cli> +# * perl v5.36 or newer + # whitespace-delimited list of file-URI pairs, # each consisting of a relative path to a local file # and a relative URI to a HedgeDoc pad, -# separated by a colon. +# separated by a colon #PAD_LIST = \ # README.md:Xg5jgtkWQNqRzobI0qwrtw \ # our_project/subdir/foo.data:XxgHj9yCQ_e6bsETro5DMA -# + # when set to a non-empty value (and HedgeDoc service supports it), # importing from local file will attempt to replace existing pad, # instead of creating a new pad #PAD_REPLACE = yes -# -# Dependencies: -# * hedgedoc <https://github.com/hedgedoc/cli> -# * perl v5.36 or newer # resolve files and URIs from PAD_LIST _PADFILES = $(foreach i,$(PAD_LIST),$(firstword $(subst :,$() ,$i))) |