aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--GNUmakefile6
-rw-r--r--pelican/content/trac-to-pelican-home.md26
3 files changed, 4 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index 24aee26..e25a64c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ pelican/pelicanconf.py
pelican/website
repositories.json
trac.db
+trac-to-pelican-home.md
diff --git a/GNUmakefile b/GNUmakefile
index 7fbdb88..c1948e5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,13 +8,13 @@ REPO_HOST := bikeshed.cryptech.is
REPO_PATH := /usr/local/git/repositories
-all: pelican/content/trac-to-pelican-home.md
+all: trac-to-pelican-home.md
tools/extract.py --source-url ${SOURCE_URL}
+ ln -f trac-to-pelican-home.md pelican/content/trac-to-pelican-home.md
./kludge-cgit-urls.py
cd pelican; pelican --output website --settings pelicanconf.py --fatal errors content
-pelican/content/trac-to-pelican-home.md: tools/trac-to-pelican-home.md
- mkdir -p $(dir $@)
+trac-to-pelican-home.md: tools/trac-to-pelican-home.md
(date '+Date: %Y-%m-%d %H:%M'; cat $<) > $@
fetch:
diff --git a/pelican/content/trac-to-pelican-home.md b/pelican/content/trac-to-pelican-home.md
deleted file mode 100644
index 3c10462..0000000
--- a/pelican/content/trac-to-pelican-home.md
+++ /dev/null
@@ -1,26 +0,0 @@
-Date: 2021-07-11 22:45
-Title: Trac Wiki converted to Pelican Markdown
-URL:
-save_as: index.html
-
-Trac Wiki converted to Pelican Markdown
-=======================================
-
-This is a dummy landing page for a Trac Wiki site converted to
-Markdown and fed through Pelican to create a static web site.
-
-See [the conversion scripts that produced
-this](https://git.hactrn.net/sra/trac-wiki-to-markdown) for details on
-the conversion process. Be warned that it's a lot of nasty regular
-expressions, because nothing other than Trac really understand's
-Track's Wiki format.
-
-Trac's landing page is always called [WikiStart](wikistart.html).
-
-Pelican's [automatically-generated index](pelican-index.html) is the
-default Pelican landing page, but we had to move it aside to make room
-for this one.
-
-Feel free to clean all of this up, this page is just a placeholder to
-make it easy to navigate the converted wiki until a human takes over.
-