From 44cb9e7a3e142b27f9b79708f2248934cc3fe247 Mon Sep 17 00:00:00 2001
From: Greg Wilson <gvwilson@third-bit.com>
Date: Wed, 4 May 2016 07:28:08 -0400
Subject: [PATCH] Making single-page version in main Makefile

---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9c92795..0ea8e0e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ HTML_FILES = \
   ${DST}/license/index.html
 
 # Controls
-.PHONY : commands clean files
+.PHONY : commands clean files singlepage
 all : commands
 
 ## commands   : show all commands.
@@ -41,5 +41,9 @@ clean :
 files :
 	@echo ${HTML_FILES}
 
+## singlepage : build hacky single-page version of material (after 'make site').
+singlepage :
+	bin/jekyllcat -o '</nav>' -c '<footer' ${HTML_FILES} > _site/singlepage.html
+
 # Include extra commands if available.
 -include commands.mk
-- 
GitLab