Skip to content

Commit 74fde65

Browse files
committed
Fixing docs Makefile targets
1 parent ed09ce2 commit 74fde65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/book/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
ROOT_DIR_RELATIVE := ../..
16-
include $(ROOT_DIR_RELATIVE)/common.mk
15+
export REPO_ROOT := $(shell git rev-parse --show-toplevel)
16+
17+
include $(REPO_ROOT)/common.mk
1718

1819
# Directories.
1920
MDBOOK := $(TOOLS_BIN_DIR)/mdbook

0 commit comments

Comments
 (0)