Skip to content

Commit 3cdb586

Browse files
author
Kenneth Reitz
committed
Merge pull request realpython#188 from dcrosta/makefile-hack
make targets in docs/Makefile available at top level
2 parents 707d5c0 + 291c0ff commit 3cdb586

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Makefile

Lines changed: 7 additions & 2 deletions
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)