aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 5 insertions, 2 deletions
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"' | \