Compare commits

..

3 Commits

Author SHA1 Message Date
9daaace86c Create a dependency list for templates 2023-09-19 12:24:44 -07:00
c390ea9cc2 Update formatting 2023-09-19 11:56:41 -07:00
169684b251 Update show formating 2023-09-19 11:43:59 -07:00
2 changed files with 8 additions and 7 deletions

View File

@ -94,11 +94,11 @@ publish: #> Publish Gemini files to site
show: #> Display key variables
@echo "Key variables defined in ${self}:"
@echo
@echo "Gemini site................................... ${GEMINI_SITE}"
@echo "Genini site URL............................... ${GEMINI_URL}"
@echo "Gemini site .................................. ${GEMINI_SITE}"
@echo "Genini site URL .............................. ${GEMINI_URL}"
@echo
@echo "\tSite index template......................... ${site_index_template}"
@echo "\tBanner template............................. ${banner_template}"
@echo "\tSite index template ........................ ${site_index_template}"
@echo "\tBanner template ............................ ${banner_template}"
@echo
@echo "\tCurated content directories:"
@echo "\t\t${curate}"

View File

@ -45,7 +45,8 @@ templates_expanded ::= $(addprefix ${staging_dir}/,${templates:.gmi.m4=.gmi})
gemtext ::= $(wildcard *.gmi)
gemtext_copied ::= $(addprefix ${staging_dir}/,${gemtext})
all ::= $(notdir $(filter-out _%,%.m4,%~,.%,$(wildcard *)))
# Create list of potential dependencies of *.gmi.m4 templates
all ::= $(notdir $(filter-out %.gmi.m4 _% %~, $(wildcard *)))
#-----------------------------------------------------------------------------#
#
@ -77,8 +78,8 @@ show: #> Show enironment variables with values
@echo
@echo "Makefile list: ${MAKEFILE_LIST}"
@echo
@echo "Content section............................... ${content_section}"
@echo "Staging space................................. ${staging_dir}"
@echo "Content section .............................. ${content_section}"
@echo "Staging space ................................ ${staging_dir}"
@echo
@echo "Templates found:"
@for x in ${templates}; do echo "\t$$x"; done