diff options
| author | Jerome Martin <jxm@risingtidesystems.com> | 2011-09-20 09:37:44 +0200 |
|---|---|---|
| committer | Jerome Martin <jxm@risingtidesystems.com> | 2011-09-20 10:03:52 +0200 |
| commit | 0df5ee8c03f39bb05f9649c23719817240738444 (patch) | |
| tree | 0e7b0261ed5f65bdd79402f3b6fb7a5f2890de7d /bin | |
| parent | 179e8d808a433c456f8b4cfabf368934217306f5 (diff) | |
| download | targetcli-0df5ee8c03f39bb05f9649c23719817240738444.tar.gz | |
Changed name to targetcli at community request.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/gen_changelog | 6 | ||||
| -rwxr-xr-x | bin/gen_changelog_cleanup | 2 | ||||
| -rwxr-xr-x | bin/gendoc | 12 | ||||
| -rwxr-xr-x | bin/gendoc.py | 12 |
4 files changed, 16 insertions, 16 deletions
diff --git a/bin/gen_changelog b/bin/gen_changelog index f0b0d8a..91ef158 100755 --- a/bin/gen_changelog +++ b/bin/gen_changelog @@ -1,6 +1,6 @@ #!/bin/bash -# This file is part of RTSAdmin Community Edition. +# This file is part of targetcli. # Copyright (c) 2011 by RisingTide Systems LLC # # This program is free software: you can redistribute it and/or modify @@ -30,8 +30,8 @@ echo " * Generated package." >> debian/changelog echo >> debian/changelog echo " -- ${NAME} <${EMAIL}> ${DATE}" >> debian/changelog -RH_SPEC="redhat/rtsadmin.spec" -cp redhat/rtsadmin.spec.tmpl $RH_SPEC +RH_SPEC="redhat/targetcli.spec" +cp redhat/targetcli.spec.tmpl $RH_SPEC sed -i "s/Version:\( *\).*/Version:\1${VERSION}/g" $RH_SPEC echo "* $(date +'%a %b %d %Y') ${NAME} <${EMAIL}> - ${VERSION}" >> $RH_SPEC echo "- Generated package." >> $RH_SPEC diff --git a/bin/gen_changelog_cleanup b/bin/gen_changelog_cleanup index 3d11deb..bb3dc05 100755 --- a/bin/gen_changelog_cleanup +++ b/bin/gen_changelog_cleanup @@ -1,6 +1,6 @@ #!/bin/bash -# This file is part of RTSAdmin Community Edition. +# This file is part of targetcli. # Copyright (c) 2011 by RisingTide Systems LLC # # This program is free software: you can redistribute it and/or modify @@ -1,6 +1,6 @@ #!/bin/bash -# This file is part of RTSAdmin Community Edition. +# This file is part of targetcli. # Copyright (c) 2011 by RisingTide Systems LLC # # This program is free software: you can redistribute it and/or modify @@ -20,11 +20,11 @@ path=$PWD rm -rf doc &>/dev/null mkdir doc cp README COPYING doc/ -cp rtsadmin_doc/rtslogo.* doc/ +cp targetcli_doc/rtslogo.* doc/ -CSS=../rtsadmin_doc/html4css1.css -#CSS=../rtsadmin_doc/voidspace.css -RSTTITLE="rtsadmin_reference" +CSS=../targetcli_doc/html4css1.css +#CSS=../targetcli_doc/voidspace.css +RSTTITLE="targetcli_reference" TITLE=$RSTTITLE #MARK="% generated by Docutils" MARK="\documentclass.*" @@ -67,7 +67,7 @@ latex $TITLE.tex $TITLE.dvi latex $TITLE.tex $TITLE.dvi dvipdf $TITLE.dvi $TITLE.pdf -TITLE="rtsadmin_reference_for_print" +TITLE="targetcli_reference_for_print" rst2latex $RSTTITLE.rst --toc-entry-backlinks --compound-enumerators --use-verbatim-when-possible --use-latex-toc --section-numbering --documentclass book --documentoptions "10pt,a4paper" --use-latex-toc --use-latex-docinfo --hyperlink-color black $TITLE.tex diff --git a/bin/gendoc.py b/bin/gendoc.py index 680555a..74bc433 100755 --- a/bin/gendoc.py +++ b/bin/gendoc.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# This file is part of RTSAdmin Community Edition. +# This file is part of targetcli. # Copyright (c) 2011 by RisingTide Systems LLC # # This program is free software: you can redistribute it and/or modify @@ -22,7 +22,7 @@ import inspect import textwrap import datetime sys.path.insert(0, os.path.realpath(".")) -import rtsadmin +import targetcli def doctitle(txt): return "%s\n%s\n%s\n\n" \ @@ -55,12 +55,12 @@ def gen_help_cmd(): def gen_title(): string = "" - string += doctitle("The rtsadmin Reference Guide") - string += docsubtitle(rtsadmin.__description__) + string += doctitle("The targetcli Reference Guide") + string += docsubtitle(targetcli.__description__) string += ":Date: version %s built on %s\n" \ - % (str(rtsadmin.__version__), + % (str(targetcli.__version__), str(datetime.datetime.now().date())) - license_fields = rtsadmin.__license__.split(".") + license_fields = targetcli.__license__.split(".") string += ":Author: %s. %s.\n" % (license_fields[0], license_fields[1]) string += "\n" return string |
