From cb152bded911b19535146e92598322d06746ad3d Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 15 Sep 2024 12:09:21 +0200 Subject: list setup and requirement comments before variables --- _make/hedgedoc.mk | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to '_make/hedgedoc.mk') 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 # 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 +# * 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 -# * perl v5.36 or newer # resolve files and URIs from PAD_LIST _PADFILES = $(foreach i,$(PAD_LIST),$(firstword $(subst :,$() ,$i))) -- cgit v1.2.3