From dc6ef096698dcd18d1755a45d79d0b87368a6ce6 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 14 Feb 2021 00:51:25 +0000 Subject: rsync fresh sql and attachments and work from that, without Trac itself --- GNUmakefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 GNUmakefile (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile new file mode 100644 index 0000000..019a783 --- /dev/null +++ b/GNUmakefile @@ -0,0 +1,19 @@ +TRAC := $(shell find raw-wiki-dump -type f -name '*.trac') +OUT := ${TRAC:.trac=.md} TAGS +TOOL := tools/trac2md.py + +all: ${OUT} + +fetch: + rsync -aP --delete bikeshed.cryptech.is:/home/trac/db/trac.db bikeshed.cryptech.is:/home/trac/files/attachments . + +clean: + rm ${OUT} + +TAGS: ${TRAC} + etags -l none $^ + +%.md: %.trac GNUmakefile ${TOOL} + ${TOOL} $< + +.PHONY: all clean fetch -- cgit v1.2.3