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