make targets in docs/Makefile available at top level

This commit is contained in:
Dan Crosta
2012-07-28 13:28:37 -04:00
parent 707d5c018e
commit 291c0ff37a
+7 -2
View File
@@ -1,2 +1,7 @@
build:
cd docs && make html
.PHONY: build
build: html
# this pattern rule lets you run "make build" (or any other target
# in docs/Makefile) in this directory as though you were in docs/
%:
cd docs && make $@