diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-07-03 12:37:51 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-07-03 12:37:51 -0400 |
commit | f46f300dc5851c22da29f37d8f7201563253aa87 (patch) | |
tree | 230397e4092dd1fdac9bc51cd49659ed9b2730af /Makefile | |
parent | ade9463eb47b10cb34e0847ad69f0c487e77377c (diff) | |
download | website-f46f300dc5851c22da29f37d8f7201563253aa87.tar.gz |
cleanup makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 6 insertions, 17 deletions
@@ -6,6 +6,7 @@ FEED_TITLE = Cullum Smith's Blog FEED_DESCRIPTION = Dad, southerner, unix wrangler, banjo enjoyer STATIC_REGEX = .*\.(html|css|jpg|jpeg|png|ico|xml|txt|asc|webmanifest) RECENT_POSTS_LIMIT = 5 +HIGHLIGHT_STYLE = kate ### VARIABLES ###################### @@ -53,23 +54,11 @@ OUTPUT_RSS := ${OUTPUT_DIR}/${BLOG_RSS_FILE} ### BUILD COMMANDS ###################### -COPY = cp -p - -PANDOC := pandoc \ - --highlight-style=kate \ - --metadata=feed:/${BLOG_RSS_FILE} \ - --defaults=${DEFAULTS} - -GENERATE_RSS := ${BLOG_RSS_SCRIPT} \ - ${SOURCE_DIR}/${BLOG_DIR} \ - --title=${FEED_TITLE:Q} \ - --description=${FEED_DESCRIPTION:Q} \ - --url=${URL:Q} \ - --blog-path=/${BLOG_DIR} \ - --feed-path=/${BLOG_RSS_FILE} - -GENERATE_BLOGLIST := ${BLOG_LIST_SCRIPT} ${SOURCE_DIR}/${BLOG_DIR} -INTERPOLATE_BLOGLIST = sed -e '/${BLOG_LIST_REPLACE}/{r ${BLOGLIST_HTML}' -e 'd;}' +COPY = cp -p +PANDOC := pandoc --highlight-style=${HIGHLIGHT_STYLE} --metadata=feed:/${BLOG_RSS_FILE} --defaults=${DEFAULTS} +GENERATE_RSS := ${BLOG_RSS_SCRIPT} ${SOURCE_DIR}/${BLOG_DIR} --title=${FEED_TITLE:Q} --description=${FEED_DESCRIPTION:Q} --url=${URL:Q} --blog-path=/${BLOG_DIR} --feed-path=/${BLOG_RSS_FILE} +GENERATE_BLOGLIST := ${BLOG_LIST_SCRIPT} ${SOURCE_DIR}/${BLOG_DIR} +INTERPOLATE_BLOGLIST = sed -e '/${BLOG_LIST_REPLACE}/{r ${BLOGLIST_HTML}' -e 'd;}' ### TARGETS ###################### |