doc: drop old ip command documentation
The old IP cross reference manual was very out of date, barely updated since 1999. The correct documentation is in the man pages. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
429f314ef7
commit
b2fd7a0e6e
4
Makefile
4
Makefile
|
|
@ -73,7 +73,7 @@ install: all
|
|||
$(DESTDIR)$(DOCDIR)/examples
|
||||
install -m 0644 $(shell find examples/diffserv -maxdepth 1 -type f) \
|
||||
$(DESTDIR)$(DOCDIR)/examples/diffserv
|
||||
@for i in $(SUBDIRS) doc; do $(MAKE) -C $$i install; done
|
||||
@for i in $(SUBDIRS); do $(MAKE) -C $$i install; done
|
||||
install -m 0644 $(shell find etc/iproute2 -maxdepth 1 -type f) $(DESTDIR)$(CONFDIR)
|
||||
install -m 0755 -d $(DESTDIR)$(BASH_COMPDIR)
|
||||
install -m 0644 bash-completion/tc $(DESTDIR)$(BASH_COMPDIR)
|
||||
|
|
@ -84,7 +84,7 @@ snapshot:
|
|||
> include/SNAPSHOT.h
|
||||
|
||||
clean:
|
||||
@for i in $(SUBDIRS) doc; \
|
||||
@for i in $(SUBDIRS); \
|
||||
do $(MAKE) $(MFLAGS) -C $$i clean; done
|
||||
|
||||
clobber:
|
||||
|
|
|
|||
69
doc/Makefile
69
doc/Makefile
|
|
@ -1,69 +0,0 @@
|
|||
PSFILES=ip-cref.ps
|
||||
|
||||
LATEX=latex
|
||||
DVIPS=dvips
|
||||
SGML2DVI=sgml2latex
|
||||
SGML2HTML=sgml2html -s 0
|
||||
LPR=lpr -Zsduplex
|
||||
SHELL=bash
|
||||
PAGESIZE=a4
|
||||
PAGESPERPAGE=2
|
||||
|
||||
HTMLFILES=$(subst .sgml,.html,$(shell echo *.sgml))
|
||||
DVIFILES=$(subst .ps,.dvi,$(PSFILES))
|
||||
PDFFILES=$(subst .ps,.pdf,$(PSFILES))
|
||||
|
||||
|
||||
all: pstwocol
|
||||
|
||||
pstwocol: $(PSFILES)
|
||||
|
||||
html: $(HTMLFILES)
|
||||
|
||||
dvi: $(DVIFILES)
|
||||
|
||||
pdf: $(PDFFILES)
|
||||
|
||||
print: $(PSFILES)
|
||||
$(LPR) $(PSFILES)
|
||||
|
||||
%.tex: %.sgml
|
||||
$(SGML2DVI) --output=tex $<
|
||||
|
||||
%.dvi: %.sgml
|
||||
$(SGML2DVI) --output=dvi $<
|
||||
|
||||
%.dvi: %.tex
|
||||
@set -e; pass=2; echo "Running LaTeX $<"; \
|
||||
while [ `$(LATEX) $< </dev/null 2>&1 | \
|
||||
grep -c '^\(LaTeX Warning: Label(s) may\|No file \|! Emergency stop\)'` -ge 1 ]; do \
|
||||
if [ $$pass -gt 3 ]; then \
|
||||
echo "Seems, something is wrong. Try by hands." ; exit 1 ; \
|
||||
fi; \
|
||||
echo "Re-running LaTeX $<, $${pass}d pass"; pass=$$[$$pass + 1]; \
|
||||
done
|
||||
|
||||
%.pdf: %.tex
|
||||
@set -e; pass=2; echo "Running pdfLaTeX $<"; \
|
||||
while [ `pdflatex $< </dev/null 2>&1 | \
|
||||
grep -c '^\(LaTeX Warning: Label(s) may\|No file \|! Emergency stop\)'` -ge 1 ]; do \
|
||||
if [ $$pass -gt 3 ]; then \
|
||||
echo "Seems, something is wrong. Try by hands." ; exit 1 ; \
|
||||
fi; \
|
||||
echo "Re-running pdfLaTeX $<, $${pass}d pass"; pass=$$[$$pass + 1]; \
|
||||
done
|
||||
#%.pdf: %.ps
|
||||
# ps2pdf $<
|
||||
|
||||
%.ps: %.dvi
|
||||
$(DVIPS) $< -o $@
|
||||
|
||||
%.html: %.sgml
|
||||
$(SGML2HTML) $<
|
||||
|
||||
install:
|
||||
install -m 0644 $(shell echo *.tex) $(DESTDIR)$(DOCDIR)
|
||||
install -m 0644 $(shell echo *.sgml) $(DESTDIR)$(DOCDIR)
|
||||
|
||||
clean:
|
||||
rm -f *.aux *.log *.toc $(PSFILES) $(DVIFILES) *.html *.pdf
|
||||
|
|
@ -1 +0,0 @@
|
|||
\def\Draft{020116}
|
||||
16
doc/do-psnup
16
doc/do-psnup
|
|
@ -1,16 +0,0 @@
|
|||
#! /bin/bash
|
||||
# $1 = Temporary file . "string"
|
||||
# $2 = File to process . "string"
|
||||
# $3 = Page size . ie: a4 , letter ... "string"
|
||||
# $4 = Number of pages to fit on a single sheet . "numeric"
|
||||
|
||||
if type psnup >&/dev/null; then
|
||||
echo "psnup -$4 -p$3 $1 $2"
|
||||
psnup -$4 -p$3 $1 $2
|
||||
elif type psmulti >&/dev/null; then
|
||||
echo "psmulti $1 > $2"
|
||||
psmulti $1 > $2
|
||||
else
|
||||
echo "cp $1 $2"
|
||||
cp $1 $2
|
||||
fi
|
||||
3453
doc/ip-cref.tex
3453
doc/ip-cref.tex
File diff suppressed because it is too large
Load Diff
|
|
@ -1,26 +0,0 @@
|
|||
\textwidth 6.0in
|
||||
\textheight 8.5in
|
||||
|
||||
\input SNAPSHOT
|
||||
|
||||
\pagestyle{myheadings}
|
||||
\markboth{\protect\TITLE}{}
|
||||
\markright{{\protect\sc iproute2-ss\Draft}}
|
||||
|
||||
% To print it in compact form: both sides on one sheet (psnup -2)
|
||||
\evensidemargin=\oddsidemargin
|
||||
|
||||
\newenvironment{NB}{\bgroup \vskip 1mm\leftskip 1cm \footnotesize \noindent NB.
|
||||
}{\par\egroup \vskip 1mm}
|
||||
|
||||
\def\threeonly{[2.3.15+ only] }
|
||||
|
||||
\begin{document}
|
||||
|
||||
\makeatletter
|
||||
\renewcommand{\@oddhead}{{\protect\sc iproute2-ss\Draft} \hfill \protect\arabic{page}}
|
||||
\makeatother
|
||||
\let\oldthefootnote\thefootnote
|
||||
\def\thefootnote{}
|
||||
\footnotetext{Copyright \copyright~1999 A.N.Kuznetsov}
|
||||
|
||||
Loading…
Reference in New Issue