diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -822,6 +822,9 @@ endif | |||
822 | ifdef CONFIG_SAMPLES | 822 | ifdef CONFIG_SAMPLES |
823 | $(Q)$(MAKE) $(build)=samples | 823 | $(Q)$(MAKE) $(build)=samples |
824 | endif | 824 | endif |
825 | ifdef CONFIG_BUILD_DOCSRC | ||
826 | $(Q)$(MAKE) $(build)=Documentation | ||
827 | endif | ||
825 | $(call vmlinux-modpost) | 828 | $(call vmlinux-modpost) |
826 | $(call if_changed_rule,vmlinux__) | 829 | $(call if_changed_rule,vmlinux__) |
827 | $(Q)rm -f .old_version | 830 | $(Q)rm -f .old_version |
@@ -1166,7 +1169,7 @@ MRPROPER_FILES += .config .config.old include/asm .version .old_version \ | |||
1166 | # | 1169 | # |
1167 | clean: rm-dirs := $(CLEAN_DIRS) | 1170 | clean: rm-dirs := $(CLEAN_DIRS) |
1168 | clean: rm-files := $(CLEAN_FILES) | 1171 | clean: rm-files := $(CLEAN_FILES) |
1169 | clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs)) | 1172 | clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs) Documentation) |
1170 | 1173 | ||
1171 | PHONY += $(clean-dirs) clean archclean | 1174 | PHONY += $(clean-dirs) clean archclean |
1172 | $(clean-dirs): | 1175 | $(clean-dirs): |