Delete extra blank line
This commit is contained in:
parent
5b08bb21c4
commit
994a9ea35b
25
Makefile
25
Makefile
@ -33,12 +33,12 @@ include ${env_make}
|
|||||||
|
|
||||||
# build lists of content directories
|
# build lists of content directories
|
||||||
# TODO: do we need the quoted variables?
|
# TODO: do we need the quoted variables?
|
||||||
curate ?= about stuff
|
CURATE ?= about stuff
|
||||||
curate_dirs ::= $(addprefix ${CONTENT}/, ${curate})
|
curate_dirs ::= $(addprefix ${CONTENT}/, ${CURATE})
|
||||||
#curate_quoted ::= $(shell echo ${curate} | sed -e "s/ /, /g")
|
#curate_quoted ::= $(shell echo ${curate} | sed -e "s/ /, /g")
|
||||||
|
|
||||||
index ?= posts staff
|
INDEX ?= posts staff
|
||||||
index_dirs ::= $(addprefix ${CONTENT}/, ${index})
|
index_dirs ::= $(addprefix ${CONTENT}/, ${INDEX})
|
||||||
#index_quoted ::= $(shell echo ${index} | sed -e "s/ /, /g")
|
#index_quoted ::= $(shell echo ${index} | sed -e "s/ /, /g")
|
||||||
|
|
||||||
# files that this file builds directly
|
# files that this file builds directly
|
||||||
@ -72,12 +72,12 @@ build: ${site_index} #> Build the site (default)
|
|||||||
@echo Built local site in this directory: ${STAGING}
|
@echo Built local site in this directory: ${STAGING}
|
||||||
|
|
||||||
publish: #> Publish Gemini files to site
|
publish: #> Publish Gemini files to site
|
||||||
@# rsync options:
|
# rsync options:
|
||||||
@# verbose: show each operation
|
# verbose: show each operation
|
||||||
@# links: preserve symlinks
|
# links: preserve symlinks
|
||||||
@# times: preserve modification times
|
# times: preserve modification times
|
||||||
@# delete: delete extraneous files, i.e., files on destination
|
# delete: delete extraneous files, i.e., files on destination
|
||||||
@# chmod: set permsions
|
# chmod: set permsions
|
||||||
@echo Publishing in ${STAGING} to ${GEMINI_SITE}
|
@echo Publishing in ${STAGING} to ${GEMINI_SITE}
|
||||||
@rsync \
|
@rsync \
|
||||||
--verbose \
|
--verbose \
|
||||||
@ -109,7 +109,7 @@ show: #> Display key variables
|
|||||||
@echo "Build message: ${BUILD_DATE_MSG}"
|
@echo "Build message: ${BUILD_DATE_MSG}"
|
||||||
@${MAKE} -f ${env_make}
|
@${MAKE} -f ${env_make}
|
||||||
@echo
|
@echo
|
||||||
@#${MAKE} -f ${curate.mk} show
|
@${MAKE} -f ${curate_make} show
|
||||||
@echo
|
@echo
|
||||||
@#${MAKE} -f ${index_make} show
|
@#${MAKE} -f ${index_make} show
|
||||||
@#echo
|
@#echo
|
||||||
@ -152,7 +152,8 @@ ${curate_dirs}: %: ${WORKING} ${STAGING}
|
|||||||
@echo "Entering section: $@"
|
@echo "Entering section: $@"
|
||||||
@echo
|
@echo
|
||||||
@mkdir -p ${WORKING}/$@ ${STAGING}/$@
|
@mkdir -p ${WORKING}/$@ ${STAGING}/$@
|
||||||
@cd $@ && ${MAKE} -f ${CURATE_MAKE} build
|
@#cd $@ && ${MAKE} -f ${CURATE_MAKE} build
|
||||||
|
@${MAKE} -C $@ -f ${CURATE_MAKE} build
|
||||||
@echo "✓ Completed $@ section"
|
@echo "✓ Completed $@ section"
|
||||||
|
|
||||||
${index_dirs}: %: ${WORKING} ${STAGING}
|
${index_dirs}: %: ${WORKING} ${STAGING}
|
||||||
|
@ -71,7 +71,6 @@ build: ${gemtext_copied} ${templates_expanded}
|
|||||||
@echo "✓ Completed processing ${section}"
|
@echo "✓ Completed processing ${section}"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
|
|
||||||
show: #> Show enironment variables with values
|
show: #> Show enironment variables with values
|
||||||
@echo "Key variables defined in ${self}:"
|
@echo "Key variables defined in ${self}:"
|
||||||
@echo
|
@echo
|
||||||
|
Loading…
Reference in New Issue
Block a user