Changeset 1793

Show
Ignore:
Timestamp:
2006-01-12 14:57:36 (3 years ago)
Author:
ctford
Message:

All snug and warm in the new dir.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • phpannodex-cgi/trunk/CGI/phpannodex-cgi.conf

    r1790 r1793  
    11#Make the php version of mod_annodex responsible for .anx files 
    2 ScriptAlias /phpannodex-cgi/ "CGI_DIR" 
    32AddHandler annodex .anx virtual 
    4 Action annodex /phpannodex-cgi/nph-mod_annodex.php 
     3Action annodex /cgi-bin/nph-mod_annodex.php 
  • phpannodex-cgi/trunk/CGI/tarball-gen.sh

    r1790 r1793  
    11#!/bin/sh 
    22 
    3 #Tarball up the current version of the CGI 
    4 #Not guaranteed to screen out ".swp" or other random files 
     3# Trivial script to tar up phpannodex-cgi. Using a script guarantees that the 
     4# version number is linked with the source at a particular stage. 
    55 
    6 # Usage 
    7 if [ $# -ne 1 ]; then 
    8   echo "Usage: $0 repository_trunk_or_branch_path" 
    9   exit 1 
    10 fi 
    11    
    12 # Name 
    13 version="0.2" 
    14 cgi="phpannodex-cgi" 
    15 src="src" 
    16 phpannodex="phpannodex" 
    17 dir="$cgi-$version" 
    18 tarball="$dir.tar.gz" 
     6version="0.3" 
     7name="phpannodex-cgi-$version" 
     8ext=".tar.gz" 
     9fullname=$name$ext 
    1910 
    20 # Main directory 
    21 mkdir $dir 
    22 cp "$1/phpsrc/CGI/README" $dir  
    23 cp "$1/phpsrc/CGI/phpannodex.cgi" $dir 
    24  
    25 # C source for the phpannodex extension core 
    26 mkdir "$dir/$src" 
    27 cp "$1/src/"*.c "$dir/$src" 
    28 cp "$1/src/"*.h "$dir/$src" 
    29 cp "$1/src/config.m4" "$dir/$src" 
    30  
    31 # Files for the cgi 
    32 mkdir "$dir/$cgi" 
    33 cp "$1/phpsrc/CGI/"*.php "$dir/$cgi" 
    34  
    35 # phpannodex php classes 
    36 mkdir "$dir/$phpannodex" 
    37 cp -r "$1/phpsrc/Classes/"*.php "$dir/$phpannodex" 
    38 cp -r "$1/phpsrc/Classes/Exceptions/"*.php "$dir/$phpannodex" 
    39 cp -r "$1/phpsrc/Classes/AnxInterval/"*.php "$dir/$phpannodex" 
    40  
    41 # Make tarball 
    42 tar cf - $dir | gzip > $tarball  
    43  
    44 # Clean up 
    45 rm -r $dir 
     11tar cf - $1 | gzip > $fullname