Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 0be73b6..c79f4ba 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,17 +18,22 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
+namespaces=$(shell find src -type d)
+nsindex=$(addsuffix /index.js, $(namespaces))
+
SUBDIRS = doc
-.PHONY: todo
+.PHONY: FORCE todo
-all-am: todo
+all-am: modindex
-# placeholder
-todo:
- @echo "You are too early! Liza is not ready; check back later."
+modindex: $(nsindex)
+%/index.js: FORCE
+ ./tools/gen-index "$*" > "$@"
test: check
check:
@PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \
mocha --recursive $(TESTARGS)
+
+FORCE: