summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-03-19 16:33:40 +0000
committerRob Austein <sra@hactrn.net>2019-03-19 16:33:40 +0000
commit9f57412eb63704a79c1b1ce18722204f1ef9ab64 (patch)
tree902ef91fd081be194a674101320ab2597b0c4424
parentc166963bed5a212698cdf7213813313498f49701 (diff)
First cut at Makefile
-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