summaryrefslogtreecommitdiff
path: root/doc/tex/Makefile
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2010-11-11 22:14:25 +0000
committerRussell Bryant <russell@russellbryant.com>2010-11-11 22:14:25 +0000
commit893ca656af419e58c8dd675274d4a4d59b22cc03 (patch)
tree8b9307baeee40cb5429b1fada5b3da28ec15b536 /doc/tex/Makefile
parent99a698efb7c0bc8548c032b37692da8ec13be9ea (diff)
Merged revisions 294740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r294740 | russell | 2010-11-11 16:13:38 -0600 (Thu, 11 Nov 2010) | 11 lines Remove most of the contents of the doc dir in favor of the wiki content. This merge does the following things: * Removes most of the contents from the doc/ directory in favor of the wiki - http://wiki.asterisk.org/ * Updates the build_tools/prep_tarball script to know how to export the contents of the wiki in both PDF and plain text formats so that the documentation is still included in Asterisk release tarballs. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc/tex/Makefile')
-rw-r--r--doc/tex/Makefile76
1 files changed, 0 insertions, 76 deletions
diff --git a/doc/tex/Makefile b/doc/tex/Makefile
deleted file mode 100644
index c36b3a847..000000000
--- a/doc/tex/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-include ../../makeopts
-
-pdf: asterisk.pdf
-
-asterisk.pdf: $(wildcard *.tex)
-ifeq ($(findstring rubber,$(RUBBER)),)
- @echo "**********************************************"
- @echo "** You must install the \"rubber\" tool ***"
- @echo "** to generate the Asterisk reference PDF. ***"
- @echo "**********************************************"
-else
- @echo "**********************************************"
- @echo "** The Asterisk reference PDF will now be ***"
- @echo "** generated. When complete, it will be ***"
- @echo "** located at asterisk.pdf. ***"
- @echo "**********************************************"
-ifneq ($(findstring kpsewhich,$(KPATHSEA)),)
-ifeq ($(findstring fncychap.sty,$(shell find `$(KPATHSEA) --expand-braces='$${TEXMF}'| tr -d \! | sed 's/:/ /g'` -name fncychap.sty -print)),)
- @echo
- @echo "WARNING: The fncychap.sty document was not found"
- @echo "On Ubuntu, install the texlive-latex-extra package."
- @echo
- @exit 1
-endif
-endif
- @cp asterisk.tex asterisk.tex.orig
- @sed -e 's/ASTERISKVERSION/$(shell echo $(ASTERISKVERSION) | sed -e 's/\//\\\//g' | sed -e 's/_/\\\\_/g')/' asterisk.tex > asterisk_local.tex
- @mv asterisk_local.tex asterisk.tex
- -@$(RUBBER) --pdf asterisk.tex
- @mv asterisk.tex.orig asterisk.tex
-endif
-
-html:
- @echo "**********************************************"
- @echo "** The Asterisk reference HTML will now be ***"
- @echo "** generated. When complete, it will be ***"
- @echo "** located in the asterisk/ directory. ***"
- @echo "** Note that the latex2html tool is ***"
- @echo "** required for this to work. ***"
- @echo "**********************************************"
- @cp asterisk.tex asterisk.tex.orig
- @sed -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' asterisk.tex > asterisk_local.tex
- @mv asterisk_local.tex asterisk.tex
- @latex2html asterisk.tex
- @mv asterisk.tex.orig asterisk.tex
-
-txt: asterisk.txt
-
-asterisk.txt: $(wildcard *.tex)
-ifeq ($(findstring catdvi,$(CATDVI)),)
- @echo "**********************************************"
- @echo "** You must install the \"catdvi\" tool ***"
- @echo "** to generate the Asterisk reference TXT. ***"
- @echo "**********************************************"
-else
- @echo "**********************************************"
- @echo "** The Asterisk reference TXT will now be ***"
- @echo "** generated. When complete, it will be ***"
- @echo "** located at asterisk.txt. ***"
- @echo "**********************************************"
-ifneq ($(findstring kpsewhich,$(KPATHSEA)),)
-ifeq ($(findstring fncychap.sty,$(shell find `$(KPATHSEA) --expand-braces='$${TEXMF}'| tr -d \! | sed 's/:/ /g'` -name fncychap.sty -print)),)
- @echo
- @echo "WARNING: The fncychap.sty document was not found"
- @echo "On Ubuntu, install the texlive-latex-extra package."
- @echo
- @exit 1
-endif
-endif
- @cp asterisk.tex asterisk.tex.orig
- @sed -e 's/ASTERISKVERSION/$(ASTERISKVERSION)/' asterisk.tex > asterisk_local.tex
- @mv asterisk_local.tex asterisk.tex
- @latex asterisk.tex
- -@$(CATDVI) -e 1 -U asterisk.dvi | sed -re "s/\[U\+2022\]/*/g" | sed -re "s/\[U\+02C6\]/^/g" | sed -re "s/([^^[:space:]])\s+/\1 /g" > asterisk.txt
- @mv asterisk.tex.orig asterisk.tex
-endif