Commit Graph

21 Commits

Author SHA1 Message Date
Leif Madsen a46f6d142c Fix boo-boo in prep_tarball script.
A hardcoded a branch number was in the prep_tarball which could not work. Changed
it to the  variable.
........

Merged revisions 343789 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@343790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-11-08 13:23:27 +00:00
Leif Madsen 7b75de509b Merged revisions 339586 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r339586 | lmadsen | 2011-10-06 08:43:21 -0500 (Thu, 06 Oct 2011) | 16 lines
  
  Merged revisions 339566 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r339566 | lmadsen | 2011-10-05 16:30:11 -0500 (Wed, 05 Oct 2011) | 8 lines
    
    Update prep_tarball script to download pre-exported documentation.
    
    I've updated the prep_tarball script to now download the pre-exported documentation
    from the Asterisk wiki. This will give us more control over what is being included
    in the tarball releases, and will make both the PDF and HTML exported documentation
    look much better (especially when viewing from a console).
    
    (Closes issue ASTERISK-18677)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@339587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 13:43:52 +00:00
Leif Madsen 65862734a9 Merged revisions 325091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r325091 | lmadsen | 2011-06-28 10:12:00 -0500 (Tue, 28 Jun 2011) | 1 line
  
  Remove line from prep_tarball that kills mkrelease.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@325092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-06-28 15:12:34 +00:00
Russell Bryant 1794783d29 Merged revisions 295278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r295278 | russell | 2010-11-16 16:41:11 -0600 (Tue, 16 Nov 2010) | 2 lines
  
  Check for pdftotext and give a useful error if not found.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-16 22:41:32 +00:00
Russell Bryant 9b484c94ae Merged revisions 295201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r295201 | russell | 2010-11-16 15:46:18 -0600 (Tue, 16 Nov 2010) | 2 lines
  
  Remove intentional typo I had added when testing the check.  oops.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-16 21:46:39 +00:00
Russell Bryant 0ac07c14bc Merged revisions 295164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r295164 | russell | 2010-11-16 14:50:03 -0600 (Tue, 16 Nov 2010) | 2 lines
  
  Check for wikiexport.py in PATH and give a useful error message if not found.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@295165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-16 20:50:31 +00:00
Russell Bryant 893ca656af 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
2010-11-11 22:14:25 +00:00
Leif Madsen 8b11ae2e4f Add ability to generate ASCII documentation from the TeX files.
These changes add the ability to run 'make asterisk.txt' just like the existing
'make asterisk.pdf' commands to generate a text document from the TeX files we
have in the doc/tex/ directory. I've also updated a few of the .tex files because
they weren't properly escaping certain characters so they would show up as Unicode
characters (like [U+021C]). Made changes to the configure scripts so it would
detect the catdvi program which is required to convert the .dvi file generated
by latex.

I've also added a few lines to the build_tools/prep_tarball script so that the
text documentation gets generated and added to future tarballs of Asterisk
releases.

(closes issue #17220)
Reported by: lmadsen
Patches: 
      asterisk.txt.patch uploaded by lmadsen (license 10)
      asterisk.txt.patch-v4 uploaded by pabelanger (license 224)
Tested by: lmadsen, pabelanger

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-21 19:18:35 +00:00
Kevin P. Fleming 0e70c71c25 Convert this branch to Opsound music-on-hold.
For more details:
http://blogs.digium.com/2009/08/18/asterisk-music-on-hold-changes/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-18 20:29:37 +00:00
Kevin P. Fleming 62efd337c1 make this script actually work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13 23:00:37 +00:00
Michiel van Baak 0d49cdae3e Make all sed calls Posix sed compatible.
To make sure nobody commits script-modified files we first make a backup
of asterisk.tex, run the script, generate the pdf and / or html,
and put the original asterisk.tex back.
This will guard us for the stuff that happened before that someone committed 
a locally modified asterisk.tex, with changes done by this script.

(closes issue #13062)
Reported by: mvanbaak
Patches:
      sed_without-i-v3.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak

Feedback from Corydon. Thanks for taking the time to go through this.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 23:14:03 +00:00
Russell Bryant 59f2d32d33 Build the HTML version of the doc files for tarballs, as well
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-07 16:59:04 +00:00
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines

In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
rizzo brought up some issues related to the way that the metadata required
for menuselect and the rest of the build system is extracted from the source
files. Since I had a few hours to kill on an airplane today, I decided to
improve this situation... so now the system caches the extracted metadata
and uses it to build the menuselect 'tree' as much as it can. The result
of this is that when a single source file is changed, only the metadata for
that file needs to be extracted again, and the rest is used from the cache
files. I also reduced the number of forked processes required to do the
metadata extraction; it was actually possible to do most of what we needed
in the Makefiles themselves without using any shell scripts at all! On my
laptop, these changes resulted in an 80% decrease in the time required
for the 'menuselect.makeopts' automatic check to occur after editing a single
source file.

While doing this work I also cleaned up a few minor things in the Makefiles,
adding a check for 'awk' to the configure script and changed all remaining
places we use 'grep' or 'awk' to use the ones found by the configure script,
and changed the 'prep_tarball' script to build the menuselect metadata so
that tarballs of Asterisk will include it and won't require the user to
wait while it is extracted after unpacking.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-12-17 07:25:35 +00:00
Russell Bryant 3c641c74de Merged revisions 84474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84474 | russell | 2007-10-02 15:06:07 -0500 (Tue, 02 Oct 2007) | 5 lines

* Don't build the menuselect-tree for the tarball, as it requires running the
  configure script first
* Change the Makefile to note that menuselect-tree depends on the configure
  script.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-02 20:07:15 +00:00
Russell Bryant df1a340774 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-02 22:27:46 +00:00
Russell Bryant 9b1788668c Merged revisions 71371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71371 | russell | 2007-06-24 15:16:32 -0500 (Sun, 24 Jun 2007) | 3 lines

Include the menuselect-tree file in tarballs to make builds from tarballs a
little bit faster

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-24 20:17:43 +00:00
Russell Bryant eeb1350263 Merged revisions 58953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58953 | russell | 2007-03-15 20:12:40 -0500 (Thu, 15 Mar 2007) | 2 lines

Add the --pdf option to the usage of rubber in prep_tarball

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:13:36 +00:00
Russell Bryant d9d8e5c081 Merged revisions 58935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58935 | russell | 2007-03-15 17:35:52 -0500 (Thu, 15 Mar 2007) | 2 lines

have prep_tarball attempt to build asterisk.pdf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:36:34 +00:00
Kevin P. Fleming e4d172c9b2 Merged revisions 48548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48548 | kpfleming | 2006-12-17 12:33:24 -0600 (Sun, 17 Dec 2006) | 2 lines

need an additional argument here to make the downloads actually occur

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-17 18:33:53 +00:00
Kevin P. Fleming feb39743a2 Merged revisions 48427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48427 | kpfleming | 2006-12-12 17:18:14 -0600 (Tue, 12 Dec 2006) | 2 lines

when making a release, we can always use wget and we can't run the configure script to find that out...

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 23:28:15 +00:00
Kevin P. Fleming d9ebe01c7c Merged revisions 45410 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45410 | kpfleming | 2006-10-17 17:31:54 -0500 (Tue, 17 Oct 2006) | 2 lines

add a project-specific script to be used during release preparation

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-17 22:32:19 +00:00