mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Merge with http://elinks.cz/elinks.git
This commit is contained in:
commit
e27289e456
@ -111,11 +111,13 @@ endif
|
||||
|
||||
%.o: $(srcdir)%.c
|
||||
$(call mcmd,compile)
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
@-if test -e .deps/$(*F).pp; then \
|
||||
cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
>> .deps/$(*F).P; \
|
||||
rm .deps/$(*F).pp
|
||||
rm .deps/$(*F).pp; \
|
||||
fi
|
||||
|
||||
CLEAN += $(PROG) $(OBJS)
|
||||
|
||||
|
16
doc/Makefile
16
doc/Makefile
@ -61,7 +61,7 @@ man: txt $(MAN_DOCS)
|
||||
all-docs: man html pdf
|
||||
|
||||
install-doc: all-docs update-man install
|
||||
$(foreach doc,$(HTML_DOCS), \
|
||||
@$(foreach doc,$(HTML_DOCS), \
|
||||
if test -d $(doc); then \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/html/$(doc); \
|
||||
$(call ncmd,installdata,$(doc)/*,$(HTML_DIR)/$(doc)); \
|
||||
@ -69,12 +69,12 @@ install-doc: all-docs update-man install
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/html; \
|
||||
$(call ncmd,installdata,$(doc),$(HTML_DIR)); \
|
||||
fi;)
|
||||
$(foreach doc,$(PDF_DOCS), \
|
||||
@$(foreach doc,$(PDF_DOCS), \
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(docdir)/$(PACKAGE)/pdf; \
|
||||
$(call ncmd,installdata,$(doc),$(PDF_DIR);))
|
||||
|
||||
update-man: man
|
||||
$(if $(MAN_DOCS), \
|
||||
@$(if $(MAN_DOCS), \
|
||||
$(call ncmd,installdata,elinks.1,man/man1/elinks.1.in); \
|
||||
$(call ncmd,installdata,elinkskeys.5,man/man5/); \
|
||||
$(call ncmd,installdata,elinks.conf.5,man/man5/))
|
||||
@ -93,7 +93,7 @@ install-local:
|
||||
CODE2DOC = $(srcdir)tools/code2doc
|
||||
HELP2DOC = $(srcdir)tools/help2doc
|
||||
CONF2DOC = $(srcdir)tools/conf2doc
|
||||
KEYS2DOC = $(srcdir)tools/make-elinkskeys-manpage
|
||||
KEYS2DOC = $(srcdir)tools/keys2doc
|
||||
ELINKS = $(top_builddir)/src/elinks
|
||||
FEATURES = $(top_srcdir)/features.conf
|
||||
KBDBIND = $(top_srcdir)/src/config/kbdbind.c
|
||||
@ -177,19 +177,19 @@ man_hack = sed "s/^\(\.TH \"ELINKS[^\"]*\" [0-9] \).*/\1\"$(1)\" \"$(MAN_DATE)\"
|
||||
|
||||
%.html: %.txt asciidoc.conf
|
||||
$(call cmd,asciidoc,xhtml11)
|
||||
$(call asciidoc_dep)
|
||||
@-$(call asciidoc_dep)
|
||||
|
||||
%.xml: %.txt asciidoc.conf
|
||||
$(call cmd,asciidoc,docbook)
|
||||
$(call asciidoc_dep)
|
||||
@-$(call asciidoc_dep)
|
||||
|
||||
%.1: %.1.xml
|
||||
$(call cmd,xmlto,man)
|
||||
$(call man_hack,$(call man_desc))
|
||||
@$(call man_hack,$(call man_desc))
|
||||
|
||||
%.5: %.5.xml
|
||||
$(call cmd,xmlto,man)
|
||||
$(call man_hack,$(call man_desc))
|
||||
@$(call man_hack,$(call man_desc))
|
||||
|
||||
%.html-chunked: %.xml
|
||||
$(call cmd,xmlto,html,-o $@)
|
||||
|
@ -15,6 +15,9 @@
|
||||
# - typedef:[]
|
||||
# - ref:[]
|
||||
|
||||
[replacements]
|
||||
(^|[^-])--($|[^-])=\1--\2
|
||||
|
||||
# Some macros can have optional {0} value, that is what
|
||||
# the {0%...} and {0#...} handles.
|
||||
|
||||
|
@ -80,6 +80,16 @@ Some keys will need to be quoted or escaped. For example, space can be written
|
||||
as `" "` (quote space quote), and the quote itself as `\"` (backslash quote).
|
||||
Backslash can be written as `\\` (double backslash).
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
FIXME:
|
||||
|
||||
- You may prefix each of these keys with a number, telling its repeat count
|
||||
(how many times to do it). You can also re-bind keys, see elinkskeys(5) for
|
||||
documentation and a more complete list of keys bound by default.
|
||||
|
||||
- The following keys can be used while editing a line/jumping to a URL
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
KEYMAP ACTIONS
|
||||
--------------
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
.el .ne 3
|
||||
.IP "\\$1" \\$2
|
||||
..
|
||||
.TH "ELINKS.CONF" 5 "ELinks configuration file" "2006-01-12" "ELinks configuration file"
|
||||
.TH "ELINKS.CONF" 5 "ELinks configuration file" "2006-01-14" "ELinks configuration file"
|
||||
.SH NAME
|
||||
elinks.conf \- ELinks configuration file
|
||||
.SH "SYNOPSIS"
|
||||
@ -742,7 +742,7 @@ Prevent overwriting the local files:
|
||||
0: is files will silently be overwritten
|
||||
.TP
|
||||
\(bu
|
||||
|
||||
1: is add a suffix \&.{number} (for example '\&.1') to the name
|
||||
.TP
|
||||
\(bu
|
||||
2: is ask the user
|
||||
|
@ -105,6 +105,7 @@ do
|
||||
fi
|
||||
|
||||
line=`echo "$line" | sed -e "s/[ ]*(DISABLED)//"`
|
||||
line=`echo "$line" | sed 's/\([{}]\)/\\\\\1/g'`
|
||||
number=
|
||||
if test -n "$parse_int_option";
|
||||
then
|
||||
|
@ -6,14 +6,6 @@
|
||||
# Copyright (c) Jonas Fonseca <fonseca@diku.dk>, 2005-2006
|
||||
#
|
||||
|
||||
# FIXME:
|
||||
#
|
||||
# - You may prefix each of these keys with a number, telling its repeat count
|
||||
# (how many times to do it). You can also re-bind keys, see elinkskeys(5) for
|
||||
# documentation and a more complete list of keys bound by default.
|
||||
#
|
||||
# - The following keys can be used while editing a line/jumping to a URL
|
||||
|
||||
KBDBIND=$1
|
||||
CONFIGDIR=$(dirname "$KBDBIND")
|
||||
OUTPUT=$2
|
||||
@ -22,6 +14,7 @@ test -d "$CONFIGDIR" || exit
|
||||
|
||||
print_title()
|
||||
{
|
||||
echo
|
||||
echo "$1" | tr 'a-z' 'A-Z'
|
||||
echo "$1" | sed 's/[^~]/~/g'
|
||||
echo
|
||||
|
Loading…
x
Reference in New Issue
Block a user