diff options
| author | Paul Eggert | 2015-04-30 09:17:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-04-30 09:18:23 -0700 |
| commit | d6e990b65cc560e97c02e99bfd00826018b3030c (patch) | |
| tree | 7db5a2ca7dcde01ac211d3cf1ca58245d5eec198 | |
| parent | 4be98d812563ec40fe5186b06fc6da9b3c36ea03 (diff) | |
| download | emacs-d6e990b65cc560e97c02e99bfd00826018b3030c.tar.gz emacs-d6e990b65cc560e97c02e99bfd00826018b3030c.zip | |
Unclutter 'make doc' output a bit
* Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
Use make subst rather than sh IFS to split target string apart.
This makes 'make' output easier to follow.
| -rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index f88a9c5d309..858a34d9423 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -940,7 +940,7 @@ PSS = lispref-ps lispintro-ps emacs-ps misc-ps | |||
| 940 | 940 | ||
| 941 | DOCS = $(DVIS) $(HTMLS) $(INFOS) $(PDFS) $(PSS) | 941 | DOCS = $(DVIS) $(HTMLS) $(INFOS) $(PDFS) $(PSS) |
| 942 | $(DOCS): | 942 | $(DOCS): |
| 943 | t=$@; IFS=-; set $$t; IFS=; $(MAKE) -C doc/$$1 $$2 | 943 | $(MAKE) -C doc/$(subst -, ,$@) |
| 944 | 944 | ||
| 945 | .PHONY: $(DOCS) docs pdf ps | 945 | .PHONY: $(DOCS) docs pdf ps |
| 946 | .PHONY: info dvi dist check html info-real info-dir check-info | 946 | .PHONY: info dvi dist check html info-real info-dir check-info |
| @@ -997,7 +997,7 @@ INSTALL_DOC = $(INSTALL_DVI) $(INSTALL_HTML) $(INSTALL_PDF) $(INSTALL_PS) | |||
| 997 | ## Install non .info forms of the documentation. | 997 | ## Install non .info forms of the documentation. |
| 998 | ## TODO add etc/refcards. | 998 | ## TODO add etc/refcards. |
| 999 | $(INSTALL_DOC): | 999 | $(INSTALL_DOC): |
| 1000 | t=$@; IFS=-; set $$t; IFS=; $(MAKE) -C doc/$$2 $$1-$$3 | 1000 | $(MAKE) -C doc/$(subst -, install-,$(subst install-,,$@)) |
| 1001 | 1001 | ||
| 1002 | .PHONY: $(INSTALL_DOC) install-doc | 1002 | .PHONY: $(INSTALL_DOC) install-doc |
| 1003 | .PHONY: install-dvi install-html install-pdf install-ps | 1003 | .PHONY: install-dvi install-html install-pdf install-ps |
| @@ -1020,7 +1020,7 @@ UNINSTALL_PS = uninstall-emacs-ps uninstall-lispref-ps \ | |||
| 1020 | UNINSTALL_DOC = $(UNINSTALL_DVI) $(UNINSTALL_HTML) $(UNINSTALL_PDF) $(UNINSTALL_PS) | 1020 | UNINSTALL_DOC = $(UNINSTALL_DVI) $(UNINSTALL_HTML) $(UNINSTALL_PDF) $(UNINSTALL_PS) |
| 1021 | 1021 | ||
| 1022 | $(UNINSTALL_DOC): | 1022 | $(UNINSTALL_DOC): |
| 1023 | t=$@; IFS=-; set $$t; IFS=; $(MAKE) -C doc/$$2 $$1-$$3 | 1023 | $(MAKE) -C doc/$(subst -, uninstall-,$(subst uninstall-,,$@)) |
| 1024 | 1024 | ||
| 1025 | .PHONY: $(UNINSTALL_DOC) uninstall-doc | 1025 | .PHONY: $(UNINSTALL_DOC) uninstall-doc |
| 1026 | .PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps | 1026 | .PHONY: uninstall-dvi uninstall-html uninstall-pdf uninstall-ps |