| Last change
 on this file since 622 was             313, checked in by Herwig Bauernfeind, 16 years ago | 
        
          | 
Update 3.0 to final 3.0.36 (rest)
 | 
        
          | File size:
            803 bytes | 
      
      
| Line |  | 
|---|
| 1 | #!/bin/sh | 
|---|
| 2 |  | 
|---|
| 3 | _exit() { | 
|---|
| 4 | echo $@ | 
|---|
| 5 | popd | 
|---|
| 6 | exit 1 | 
|---|
| 7 | } | 
|---|
| 8 |  | 
|---|
| 9 | DOCSRCDIR=`dirname $0`/../docs-xml | 
|---|
| 10 |  | 
|---|
| 11 | pushd $DOCSRCDIR || exit 1 | 
|---|
| 12 |  | 
|---|
| 13 | git clean -d -x -f | 
|---|
| 14 | autoconf && \ | 
|---|
| 15 | ./configure --with-papersize=letter && \ | 
|---|
| 16 | make smbdotconf/parameters.all.xml && \ | 
|---|
| 17 | make release | 
|---|
| 18 |  | 
|---|
| 19 | if [ $? != 0 ]; then | 
|---|
| 20 | _exit "Docs build failed!" | 
|---|
| 21 | fi | 
|---|
| 22 |  | 
|---|
| 23 | mkdir -p ../docs | 
|---|
| 24 | rsync -Ca --delete --exclude=.git output/ ../docs/ | 
|---|
| 25 | rsync -Ca --exclude=.svn registry ../docs/ | 
|---|
| 26 | rsync -Ca --exclude=.svn archives/ ../docs/ | 
|---|
| 27 |  | 
|---|
| 28 | cd ../docs || _exit "Error changing dir to ${DOCSDIR}/../docs/" | 
|---|
| 29 |  | 
|---|
| 30 | /bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test | 
|---|
| 31 | mv manpages-3 manpages | 
|---|
| 32 | mv htmldocs/manpages-3 htmldocs/manpages | 
|---|
| 33 |  | 
|---|
| 34 | cd ../docs-xml || _exit "Error changing dir to ${DOCSDIR}/../docs-xml/" | 
|---|
| 35 | make distclean | 
|---|
| 36 |  | 
|---|
| 37 | echo "Success" | 
|---|
| 38 | popd | 
|---|
| 39 | exit | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.