diff options
author | Rob Austein <sra@hactrn.net> | 2021-07-12 04:06:43 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2021-07-12 04:06:43 +0000 |
commit | 66569536b627510735e35c6d68754c8edcefb8f0 (patch) | |
tree | 59684dc4908ab6992402d022398b906e36a05b1e | |
parent | 09631677067ded50c95958f02bec7d81e7e0bda7 (diff) |
Add rule for trac-to-pelican-home.md
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | GNUmakefile | 7 | ||||
m--------- | tools | 0 |
3 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,4 @@ -#pelican -#wiki +*.stamp TAGS __pycache__ attachments diff --git a/GNUmakefile b/GNUmakefile index cd6bc36..7fbdb88 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -8,12 +8,15 @@ REPO_HOST := bikeshed.cryptech.is REPO_PATH := /usr/local/git/repositories -all: +all: pelican/content/trac-to-pelican-home.md tools/extract.py --source-url ${SOURCE_URL} ./kludge-cgit-urls.py - (date '+Date: %Y-%m-%d %H:%M'; cat tools/trac-to-pelican-home.md) > pelican/content/trac-to-pelican-home.md 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 $@) + (date '+Date: %Y-%m-%d %H:%M'; cat $<) > $@ + fetch: rsync -aP --delete ${SOURCE_TRAC_DB} ${SOURCE_TRAC_ATTACHMENTS} . ssh -n ${REPO_HOST} 'sudo find ${REPO_PATH} -name "*.git"' | \ diff --git a/tools b/tools -Subproject 8a435a7c4d84d454e1272856d2921213e708ca5 +Subproject 1be425fbb0f62bdbb1147339c2af85eef255982 |