summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6a93ff2..789b822 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,14 @@
TRAC := $(shell find raw-wiki-dump -type f -name '*.trac')
-MD := ${TRAC:.trac=.md}
+OUT := ${TRAC:.trac=.md} TAGS
TOOL := tools/trac2md.py
-all: ${MD}
+all: ${OUT}
clean:
- rm ${MD}
+ rm ${OUT}
-%.md: %.trac
+TAGS: ${TRAC}
+ etags -l none $^
+
+%.md: %.trac Makefile ${TOOL}
${TOOL} $<