diff options
| -rw-r--r-- | Documentation/DocBook/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index ab8300f67182..22bbf7e39018 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
| @@ -32,7 +32,7 @@ PS_METHOD = $(prefer-db2x) | |||
| 32 | 32 | ||
| 33 | ### | 33 | ### |
| 34 | # The targets that may be used. | 34 | # The targets that may be used. |
| 35 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs media | 35 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs |
| 36 | 36 | ||
| 37 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) | 37 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) |
| 38 | xmldocs: $(BOOKS) | 38 | xmldocs: $(BOOKS) |
| @@ -45,15 +45,15 @@ PDF := $(patsubst %.xml, %.pdf, $(BOOKS)) | |||
| 45 | pdfdocs: $(PDF) | 45 | pdfdocs: $(PDF) |
| 46 | 46 | ||
| 47 | HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS))) | 47 | HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS))) |
| 48 | htmldocs: media $(HTML) | 48 | htmldocs: $(HTML) |
| 49 | $(call build_main_index) | 49 | $(call build_main_index) |
| 50 | $(call build_images) | ||
| 50 | 51 | ||
| 51 | MAN := $(patsubst %.xml, %.9, $(BOOKS)) | 52 | MAN := $(patsubst %.xml, %.9, $(BOOKS)) |
| 52 | mandocs: $(MAN) | 53 | mandocs: $(MAN) |
| 53 | 54 | ||
| 54 | media: | 55 | build_images = mkdir -p $(objtree)/Documentation/DocBook/media/ && \ |
| 55 | mkdir -p $(srctree)/Documentation/DocBook/media/ | 56 | cp $(srctree)/Documentation/DocBook/dvb/*.png $(srctree)/Documentation/DocBook/v4l/*.gif $(objtree)/Documentation/DocBook/media/ |
| 56 | cp $(srctree)/Documentation/DocBook/dvb/*.png $(srctree)/Documentation/DocBook/v4l/*.gif $(srctree)/Documentation/DocBook/media/ | ||
| 57 | 57 | ||
| 58 | installmandocs: mandocs | 58 | installmandocs: mandocs |
| 59 | mkdir -p /usr/local/man/man9/ | 59 | mkdir -p /usr/local/man/man9/ |
