TRAC := $(shell find raw-wiki-dump -type f -name '*.trac') OUT := ${TRAC:.trac=.md} TAGS TOOL := tools/trac2md.py all: ${OUT} fetch: rsync -aP --delete bikeshed.cryptech.is:/home/trac/db/trac.db bikeshed.cryptech.is:/home/trac/files/attachments . clean: rm ${OUT} TAGS: ${TRAC} etags -l none $^ %.md: %.trac GNUmakefile ${TOOL} ${TOOL} $< .PHONY: all clean fetch