mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			26 lines
		
	
	
		
			751 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			751 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh -e
 | |
| 
 | |
| # This script will be executed by the 'mkrelease' script to do any tasks
 | |
| # necessary during tarball creation of this project.
 | |
| #
 | |
| # It will be executed from the top-level directory of the project.
 | |
| 
 | |
| make -C sounds MENUSELECT_CORE_SOUNDS=CORE-SOUNDS-EN-GSM MENUSELECT_MOH=MOH-OPSOUND-WAV WGET=wget DOWNLOAD=wget all
 | |
| make AWK=awk GREP=grep menuselect-tree
 | |
| 
 | |
| if ! which wiikiexport.py 2>&1 > /dev/null ; then
 | |
| 	echo
 | |
| 	echo "wikiexport.py not found in \${PATH}."
 | |
| 	echo
 | |
| 	echo "Please add repotools into PATH."
 | |
| 	echo "    $ svn co http://svn.asterisk.org/svn/repotools"
 | |
| 	echo
 | |
| 	exit 1
 | |
| fi
 | |
| 
 | |
| cd doc
 | |
| echo "Exporting Asterisk wiki to a PDF (this will take a minute) ..."
 | |
| wikiexport.py
 | |
| echo "Converting wiki export PDF to plain text ..."
 | |
| pdftotext AST.pdf
 |