aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f574ea8..7b32a9c 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ docs/%.html: docs/%.md $(DEPS)
docs/reference/%.html: lib/%.moon $(DEPS)
@echo "building docs for $<"
@mkdir -p `dirname $@`
- moon extra/docs.moon $@ module lib.$(*:/=.) $*
+ moon extra/docs.moon $@ module lib.$(subst /,.,$*) $(subst /,.,$*)
docs/reference/index.html: $(MODREFS) $(DEPS)
moon extra/docs.moon $@ reference $(MODULES)