Skip to content

Commit

Permalink
Also remove build steps for style
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Aug 25, 2016
1 parent 00d4a43 commit 57719e2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions mk/docs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ERR_IDX_GEN_MD = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)

D := $(S)src/doc

DOC_TARGETS := book nomicon style error-index
DOC_TARGETS := book nomicon error-index
COMPILER_DOC_TARGETS :=
DOC_L10N_TARGETS :=

Expand Down Expand Up @@ -209,13 +209,6 @@ doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) |
$(Q)rm -rf doc/nomicon
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon

style: doc/style/index.html

doc/style/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/style/*.md) | doc/
@$(call E, rustbook: $@)
$(Q)rm -rf doc/style
$(Q)$(RUSTBOOK) build $(S)src/doc/style doc/style

error-index: doc/error-index.html

# Metadata used to generate the index is created as a side effect of
Expand Down

0 comments on commit 57719e2

Please sign in to comment.