Update for generating help

This commit is contained in:
Andrew Stryker 2024-07-12 22:22:04 -07:00
parent d7eb75336a
commit f212a23b18

View File

@ -1,9 +1,9 @@
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#
# Manage website building
#
# Andrew Stryker <axs@sdf.org>
#
#> Manage building Hugo website
#>
#> Andrew Stryker <axs@sdf.org>
#>
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#-----------------------------------------------------------------------------#
@ -15,6 +15,8 @@
DEST ?= axs@sdf.org:html
SITE_URL ?= https://axs.sdf.org
help_generator = generate-help.awk
#-----------------------------------------------------------------------------#
#
# Define user interface
@ -25,7 +27,7 @@ SITE_URL ?= https://axs.sdf.org
default: build
build: .build_sentinel #>
build: .build_sentinel #> Build site with Hugo (default)
publish: build #> Publish site
@echo "📰Publishing..."
@ -53,6 +55,9 @@ publish: build #> Publish site
@echo "✓ Publising complete"
@echo "\nThe site should be available on ${SITE_URL}"
help: #> Generate this help message
@gawk -f ${help_generator} $(MAKEFILE_LIST)
#-----------------------------------------------------------------------------#
#
# Define file interface