summaryrefslogtreecommitdiff
path: root/_make
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-09-15 12:09:21 +0200
committerJonas Smedegaard <dr@jones.dk>2024-09-15 12:10:42 +0200
commitcb152bded911b19535146e92598322d06746ad3d (patch)
treefd1aa6dde55a2a3328b3dec1ad768947f2d9d225 /_make
parentb8abbf284b56c90e2d3c97e37315410313869bc2 (diff)
list setup and requirement comments before variables
Diffstat (limited to '_make')
-rw-r--r--_make/hedgedoc.mk15
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)))