aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
-rwxr-xr-x[-rw-r--r--]tools/trac2md.py0
2 files changed, 11 insertions, 0 deletions
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
index 40c09d4..40c09d4 100644..100755
--- a/tools/trac2md.py
+++ b/tools/trac2md.py