diff --git a/ase/rel/license.man b/ase/doc/license.man similarity index 96% rename from ase/rel/license.man rename to ase/doc/license.man index 98284714..5b89d3f3 100644 --- a/ase/rel/license.man +++ b/ase/doc/license.man @@ -2,7 +2,7 @@ Software License Agreement (BSD License) -Copyright (c) 2006-2007, Hyung-Hwan Chung (brian@abiyo.net) +Copyright (c) 2006-2007, Hyung-Hwan Chung All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/ase/rel/rel.sh b/ase/rel/rel.sh index 747e78ef..547ad507 100755 --- a/ase/rel/rel.sh +++ b/ase/rel/rel.sh @@ -45,13 +45,21 @@ finalize () case "$full" in *.h|*.c|*.cc|*.cpp|*.java|*.awk|*.in) - "$HOME/awk" -f "$BASE/rel/lic.awk" -a "$target/$file" "$full" + "$AWK" -f "$BASE/rel/lic.awk" -a "$target/$file" "$full" + ;; + *.man) + tmp=`echo $i | sed 's/.man$/.html/'` + "$AWK" -f "$BASE/rel/doc.awk" "$full" > "$root/$tmp" + cp -f "$full" "$target/$file" + ;; + *.css) + cp -f "$full" "$target/$file" + cp -f "$full" "$root/$file" ;; *) cp -f "$full" "$target/$file" ;; esac - #echo "$full,$BASE,$file: $BASE/xxx/$file [OK]" fi done } @@ -62,6 +70,8 @@ then #exit 1; fi +AWK="$HOME/awk" + VER=`cat ../CVS/Tag | cut -c6- | tr '[A-Z]' '[a-z]' | sed 's/_/./g` VER="0.1.0"