summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-03-19 17:20:12 +0000
committerRob Austein <sra@hactrn.net>2019-03-19 17:20:12 +0000
commit97fc9ee04159bb55554310cf65a5843a7a5f8847 (patch)
treeca9f50b0486fbbba17b519110e1752d321c23342 /Makefile
parent6ae4982696652c6cde8a9167b18a85f8d08be63f (diff)
tags and theoretically better verbatim text handling
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} $<