Changeset 64498 in vbox
- Timestamp:
- Nov 1, 2016 4:39:14 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/docs
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/docs/Makefile.kmk
r62484 r64498 25 25 # 26 26 27 GENERATED_FILES = AutomaticTestingRevamp.html VBoxValidationKitReadMe.html 28 RST2HTML := $(firstword $(which $(foreach pyver, 3.2 3.1 3.0 2.8 2.7 2.6 2.5 2.4 ,rst2html-$(pyver).py) ) rst2html.py) 27 DEPTH = ../../../.. 28 include $(KBUILD_PATH)/header.kmk 29 30 # Figure out where rst2html.py is. 31 ifndef VBOX_RST2HTML 32 VBOX_RST2HTML := $(firstword $(which $(foreach pyver, 3.2 3.1 3.0 2.8 2.7 2.6 2.5 2.4 ,rst2html-$(pyver).py) ) ) 33 ifeq ($(VBOX_RST2HTML),) 34 if $(KBUILD_HOST) == "win" && $(VBOX_BLD_PYTHON) != "" && $(dir $(VBOX_BLD_PYTHON)) != "./" 35 VBOX_RST2HTML := $(dir $(VBOX_BLD_PYTHON))Scripts/rst2html.py 36 else 37 VBOX_RST2HTML := rst2html.py 38 endif 39 endif 40 if1of ($(KBUILD_HOST),win) 41 VBOX_RST2HTML := $(VBOX_BLD_PYTHON) $(VBOX_RST2HTML) 42 endif 43 endif 44 45 GENERATED_FILES = AutomaticTestingRevamp.html VBoxValidationKitReadMe.html TestBoxImaging.html 29 46 30 47 all: $(GENERATED_FILES) 48 49 $(foreach html,$(GENERATED_FILES) \ 50 ,$(eval $(html): $(basename $(html)).txt ; $$(REDIRECT) -E LC_ALL=C -- $$(VBOX_RST2HTML) --no-generator $$< $$@)) 51 52 $(foreach html,$(GENERATED_FILES), $(eval $(basename $(html)).o:: $(html))) # editor compile aliases 31 53 32 54 clean: 33 55 kmk_builtin_rm -f -- $(GENERATED_FILES) 34 56 35 AutomaticTestingRevamp.html: AutomaticTestingRevamp.txt36 LC_ALL=C $(RST2HTML) --no-generator AutomaticTestingRevamp.txt AutomaticTestingRevamp.html37 57 38 VBoxValidationKitReadMe.html: VBoxValidationKitReadMe.txt39 LC_ALL=C $(RST2HTML) --no-generator VBoxValidationKitReadMe.txt VBoxValidationKitReadMe.html40
Note:
See TracChangeset
for help on using the changeset viewer.