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} $<