Skip to content

Commit 8147cee

Browse files
committed
Rudimentary build-all Makefile rule
1 parent 8821e62 commit 8147cee

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

spec/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,11 @@ help:
2222
clean:
2323
-rm -rf $(BUILDDIR)
2424
-rm -rf $(SOURCEDIR)/**/generated
25+
26+
build:
27+
-mkdir -p $(BUILDDIR)
28+
-sphinx-build "$(SOURCEDIR)/2021.12" "$(BUILDDIR)/2021.12"
29+
-cp -r "$(BUILDDIR)/2021.12" "$(BUILDDIR)/latest"
30+
-sphinx-build "$(SOURCEDIR)/draft" "$(BUILDDIR)/draft"
31+
-cp "$(SOURCEDIR)/index.html" "$(BUILDDIR)/index.html"
32+
-touch "$(BUILDDIR)/.nojekyll"

spec/index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3+
4+
<html>
5+
<head>
6+
<meta http-equiv="refresh" content="0;URL=latest/" />
7+
</head>
8+
<body>
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)