From 9f57412eb63704a79c1b1ce18722204f1ef9ab64 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 19 Mar 2019 16:33:40 +0000 Subject: First cut at Makefile --- Makefile | 11 +++++++++++ tools/trac2md.py | 0 2 files changed, 11 insertions(+) create mode 100644 Makefile mode change 100644 => 100755 tools/trac2md.py diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6a93ff2 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +TRAC := $(shell find raw-wiki-dump -type f -name '*.trac') +MD := ${TRAC:.trac=.md} +TOOL := tools/trac2md.py + +all: ${MD} + +clean: + rm ${MD} + +%.md: %.trac + ${TOOL} $< diff --git a/tools/trac2md.py b/tools/trac2md.py old mode 100644 new mode 100755 -- cgit v1.2.3