mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
make install-doc installs doc/python.txt too.
This commit is contained in:
parent
b3cbb0a915
commit
f52d23c224
@ -63,6 +63,10 @@ quiet_cmd_recmake = "[$(INFO_COLOR)MAKE $(3)$(END_COLOR)] $(RELPATH)$(2)"
|
|||||||
quiet_cmd_installdata = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
|
quiet_cmd_installdata = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
|
||||||
cmd_installdata = $(INSTALL_DATA) $(2) $(3)
|
cmd_installdata = $(INSTALL_DATA) $(2) $(3)
|
||||||
|
|
||||||
|
# Install a data file from the source (not build) directory
|
||||||
|
quiet_cmd_installsrcdata = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
|
||||||
|
cmd_installsrcdata = $(INSTALL_DATA) $(srcdir)$(2) $(3)
|
||||||
|
|
||||||
quiet_cmd_installprog = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
|
quiet_cmd_installprog = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(2) -> $(3)"
|
||||||
cmd_installprog = $(INSTALL_PROGRAM) $(2) $(3)
|
cmd_installprog = $(INSTALL_PROGRAM) $(2) $(3)
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ docdir = $(datadir)/doc
|
|||||||
# Used by install-doc
|
# Used by install-doc
|
||||||
HTML_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/html
|
HTML_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/html
|
||||||
PDF_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/pdf
|
PDF_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/pdf
|
||||||
|
TXT_DIR = $(DESTDIR)$(docdir)/$(PACKAGE)/txt
|
||||||
|
|
||||||
ASCIIDOC_CONF = $(srcdir)asciidoc.conf
|
ASCIIDOC_CONF = $(srcdir)asciidoc.conf
|
||||||
ASCIIDOC_FLAGS += -f $(ASCIIDOC_CONF) -a "builddir=$(CURDIR)/"
|
ASCIIDOC_FLAGS += -f $(ASCIIDOC_CONF) -a "builddir=$(CURDIR)/"
|
||||||
@ -25,6 +26,9 @@ TXT_DOCS_NOINSTALL = \
|
|||||||
option-command.txt \
|
option-command.txt \
|
||||||
option-config.txt
|
option-config.txt
|
||||||
|
|
||||||
|
TXT_DOCS_ASIS = \
|
||||||
|
python.txt
|
||||||
|
|
||||||
HTML_DOCS-$(CONFIG_ASCIIDOC) += \
|
HTML_DOCS-$(CONFIG_ASCIIDOC) += \
|
||||||
elinks.1.html \
|
elinks.1.html \
|
||||||
elinks.conf.5.html \
|
elinks.conf.5.html \
|
||||||
@ -82,6 +86,9 @@ install-doc: all-docs update-man install
|
|||||||
@$(foreach doc,$(PDF_DOCS), \
|
@$(foreach doc,$(PDF_DOCS), \
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/pdf; \
|
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/pdf; \
|
||||||
$(call ncmd,installdata,$(doc),$(PDF_DIR));)
|
$(call ncmd,installdata,$(doc),$(PDF_DIR));)
|
||||||
|
@$(foreach doc,$(TXT_DOCS_ASIS), \
|
||||||
|
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/txt; \
|
||||||
|
$(call ncmd,installsrcdata,$(doc),$(TXT_DIR));)
|
||||||
|
|
||||||
update-man: man
|
update-man: man
|
||||||
@$(if $(MAN_DOCS), \
|
@$(if $(MAN_DOCS), \
|
||||||
|
Loading…
Reference in New Issue
Block a user