diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 13b85af159..b27d2f32f1 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
| @@ -316,7 +316,11 @@ endif | |||
| 316 | 316 | ||
| 317 | eclipse: BASE_DIR = html/$(DOC)/ | 317 | eclipse: BASE_DIR = html/$(DOC)/ |
| 318 | 318 | ||
| 319 | eclipse: | 319 | eclipse: eclipse-generate eclipse-resolve-links |
| 320 | |||
| 321 | .PHONY : eclipse-generate eclipse-resolve-links | ||
| 322 | |||
| 323 | eclipse-generate: | ||
| 320 | ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-manual poky-ref-manual yocto-project-qs),) | 324 | ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-manual poky-ref-manual yocto-project-qs),) |
| 321 | @echo " " | 325 | @echo " " |
| 322 | @echo "ERROR: You can only create eclipse documentation" | 326 | @echo "ERROR: You can only create eclipse documentation" |
| @@ -342,9 +346,19 @@ else | |||
| 342 | $(DOC)-eclipse-customization.xsl $(DOC).xml && \ | 346 | $(DOC)-eclipse-customization.xsl $(DOC).xml && \ |
| 343 | mv eclipse/toc.xml eclipse/$(DOC)-toc.xml && \ | 347 | mv eclipse/toc.xml eclipse/$(DOC)-toc.xml && \ |
| 344 | cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES) && \ | 348 | cp -rf $(FIGURES) eclipse/$(BASE_DIR)/$(FIGURES) && \ |
| 345 | cd .. | 349 | cd ..; |
| 350 | |||
| 351 | $(call modify-eclipse) | ||
| 346 | endif | 352 | endif |
| 347 | 353 | ||
| 354 | eclipse-resolve-links: | ||
| 355 | @echo " " | ||
| 356 | @echo "******** Using eclipse-help.sed to process external links" | ||
| 357 | @echo " " | ||
| 358 | $(foreach FILE, \ | ||
| 359 | $(wildcard $(DOC)/eclipse/html/$(DOC)/*.html), \ | ||
| 360 | $(shell sed -i -f tools/eclipse-help.sed $(FILE))) | ||
| 361 | |||
| 348 | tarball: html | 362 | tarball: html |
| 349 | @echo " " | 363 | @echo " " |
| 350 | @echo "******** Creating Tarball of document files" | 364 | @echo "******** Creating Tarball of document files" |
