summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-09-15 11:44:55 +0200
committerJonas Smedegaard <dr@jones.dk>2024-09-15 11:44:55 +0200
commiteaea20c045adf7d3991fb233c76e84976b6ad275 (patch)
tree3d4c63fea5c32e1419a82923b8fd79540d1f3dbb
parentc2f85c284b81c3aabe7f4fa9794f72c6dade4b4a (diff)
rename internal variable PADLIST -> PAD_LIST
-rw-r--r--Makefile3
-rw-r--r--_make/hedgedoc.mk6
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bdc5983..88016be 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
-PADLIST = \
- _NOTES.qmd:bp3data
+PAD_LIST = _NOTES.qmd:bp3data
# config hints used by helper script hedgedoc
export HEDGEDOC_SERVER = https://pad.degrowth.net/
diff --git a/_make/hedgedoc.mk b/_make/hedgedoc.mk
index 7ae31b7..0256aa0 100644
--- a/_make/hedgedoc.mk
+++ b/_make/hedgedoc.mk
@@ -25,9 +25,9 @@
# * hedgedoc <https://github.com/hedgedoc/cli>
# * perl v5.36 or newer
-# resolve files and URIs from PADLIST
-_PADFILES = $(foreach i,$(PADLIST),$(firstword $(subst :,$() ,$i)))
-_padfile2uri = $(patsubst $1:%,%,$(filter $1:%,$(PADLIST)))
+# resolve files and URIs from PAD_LIST
+_PADFILES = $(foreach i,$(PAD_LIST),$(firstword $(subst :,$() ,$i)))
+_padfile2uri = $(patsubst $1:%,%,$(filter $1:%,$(PAD_LIST)))
# register with HedgeDoc service
pad-login: