Skip to content

Commit 291c0ff

Browse files
committed
make targets in docs/Makefile available at top level
1 parent 707d5c0 commit 291c0ff

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
build:
2-
cd docs && make html
1+
.PHONY: build
2+
build: html
3+
4+
# this pattern rule lets you run "make build" (or any other target
5+
# in docs/Makefile) in this directory as though you were in docs/
6+
%:
7+
cd docs && make $@

0 commit comments

Comments
 (0)