Changeset 1793
- Timestamp:
- 2006-01-12 14:57:36 (3 years ago)
- Files:
-
- phpannodex-cgi/trunk (added)
- phpannodex-cgi/trunk/CGI (copied) (copied from phpannodex/trunk/CGI)
- phpannodex-cgi/trunk/CGI/phpannodex-cgi.conf (modified) (1 diff)
- phpannodex-cgi/trunk/CGI/tarball-gen.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
phpannodex-cgi/trunk/CGI/phpannodex-cgi.conf
r1790 r1793 1 1 #Make the php version of mod_annodex responsible for .anx files 2 ScriptAlias /phpannodex-cgi/ "CGI_DIR"3 2 AddHandler annodex .anx virtual 4 Action annodex / phpannodex-cgi/nph-mod_annodex.php3 Action annodex /cgi-bin/nph-mod_annodex.php phpannodex-cgi/trunk/CGI/tarball-gen.sh
r1790 r1793 1 1 #!/bin/sh 2 2 3 # Tarball up the current version of the CGI4 # Not guaranteed to screen out ".swp" or other random files3 # 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. 5 5 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" 6 version="0.3" 7 name="phpannodex-cgi-$version" 8 ext=".tar.gz" 9 fullname=$name$ext 19 10 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 11 tar cf - $1 | gzip > $fullname