aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 789b82283e03c8376f6b72b393c839caae2b09a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
TRAC := $(shell find raw-wiki-dump -type f -name '*.trac')
OUT  := ${TRAC:.trac=.md} TAGS
TOOL := tools/trac2md.py

all: ${OUT}

clean:
	rm ${OUT}

TAGS: ${TRAC}
	etags -l none $^

%.md: %.trac Makefile ${TOOL}
	${TOOL} $<