aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-09 06:52:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-09 06:52:40 +0000
commitc4e8dc654a5d88a27003cea7dcd3c67a54faefa7 (patch)
tree37e2a7c33117f6f7f5f845a4a062434036385bf4 /scripts
parent5f704b1e180a5fb2da47e13c8dafb5eb1b9bc881 (diff)
added version tag
svn path=/trunk/; revision=4176
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-libdir-metafile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/generate-libdir-metafile.sh b/scripts/generate-libdir-metafile.sh
index 78c3fe83..8b25cbef 100755
--- a/scripts/generate-libdir-metafile.sh
+++ b/scripts/generate-libdir-metafile.sh
@@ -19,11 +19,15 @@ function print_pd_text ()
if [ $# -lt 2 ]; then
echo "Usage: $0 BASE_DIR LIBNAME [ meta types ] "
+ echo " "
+ echo " meta types: "
echo " --author"
echo " --copyright"
echo " --description"
echo " --keywords"
echo " --license"
+ echo " --version"
+ echo " "
else
BASE_DIR="$1"; shift
@@ -60,6 +64,9 @@ while [ $# -ge 1 ]; do
--license)
print_pd_text "${libdir_file_name}" LICENSE "$2"
;;
+ --version)
+ print_pd_text "${libdir_file_name}" VERSION "$2"
+ ;;
*)
echo "ERROR: unknown flag: $1 with data: $2"
;;