diff options
-rw-r--r-- | Makefile | 11 | ||||
-rwxr-xr-x[-rw-r--r--] | tools/trac2md.py | 0 |
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 |