Recently Written · git

cl-yag

Mirror and rewrite of Solène Rapenne's cl-yag SSG of renown

git clone https://github.com/equwal/cl-yag

Log | Files | Refs


commit 40b30b3245704582341dfbb51a85d555182b3d9f
Spenser Truex <truex@equwal.com>
2025-08-31 15:25:14 -0400

Abstract the makefile for arbitrary protocols.

 Makefile | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index cf8981e..0ff114a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,23 @@
-LISP=          ecl
+LISP=ecl
 
-all: dirs html
+all: html gopher
 
 html: $(HTML) css
+	mkdir -p "output/html/static"
 	$(LISP) --load generator.lisp
 
-dirs:
+css:
 	mkdir -p "output/html/static"
+	cp -fr static/* "output/html/static/"
+
+gopher:
 	mkdir -p "output/gopher"
 
+clean: cleanhtml cleangopher
+	rm -fr "temp"
 
-clean:
-	rm -fr output/html/* output/gopher/* "temp"
+cleanhtml:
+	rm -fr output/html/*
 
-css:
-	mkdir -p "output/html/static"
-	cp -fr static/* "output/html/static/"
+cleangopher:
+	output/gopher/*