1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Remove cmd_installsrcdata.

cmd_installdata with $(srcdir) now does the same thing.
This commit is contained in:
Kalle Olavi Niemitalo 2006-12-17 16:25:12 +02:00 committed by Kalle Olavi Niemitalo
parent 7c161bbbf2
commit 5331789603
2 changed files with 1 additions and 5 deletions

View File

@ -63,10 +63,6 @@ quiet_cmd_recmake = "[$(INFO_COLOR)MAKE $(3)$(END_COLOR)] $(RELPATH)$(2)"
quiet_cmd_installdata = " [$(INSTALL_COLOR)INSTALL$(END_COLOR)] $(RELPATH)$(patsubst $(srcdir)%,%,$(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)"
cmd_installprog = $(INSTALL_PROGRAM) $(2) $(3)

View File

@ -88,7 +88,7 @@ install-doc: all-docs update-man install
$(call ncmd,installdata,$(doc),$(PDF_DIR));)
@$(foreach doc,$(TXT_DOCS_ASIS), \
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/txt; \
$(call ncmd,installsrcdata,$(doc),$(TXT_DIR));)
$(call ncmd,installdata,$(srcdir)$(doc),$(TXT_DIR));)
update-man: man
@$(if $(MAN_DOCS), \