summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2021-07-12 04:12:56 +0000
committerRob Austein <sra@hactrn.net>2021-07-12 04:12:56 +0000
commit034033d5b859a01531a5671662616473559eebfd (patch)
tree591c691d5eab5d9d55785a6231d055ee3c1e1734
parent66569536b627510735e35c6d68754c8edcefb8f0 (diff)
Tweak trac-to-pelican-home rule
-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.
-