Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request realpython#188 from dcrosta/makefile-hack
make targets in docs/Makefile available at top level
  • Loading branch information
Kenneth Reitz committed Jul 28, 2012
2 parents 707d5c0 + 291c0ff commit 3cdb586
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
@@ -1,2 +1,7 @@
build: .PHONY: build
cd docs && make html 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 $@

0 comments on commit 3cdb586

Please sign in to comment.