Cleanups:

- begin switching to new copyright message
 - add modelines to more files
This commit is contained in:
Laurence Withers 2006-07-25 18:50:00 +01:00
parent 78116d06dd
commit 2eb3f126e3
10 changed files with 49 additions and 17 deletions

View File

@ -73,8 +73,10 @@ YEAR="$(date +%Y)"
do_cmd find . -type f -exec sed \ do_cmd find . -type f -exec sed \
-e "s,@P@,${P},g" \ -e "s,@P@,${P},g" \
-e "s,@AUTHOR@,${AUTHOR},g" \ -e "s,@AUTHOR@,${AUTHOR},g" \
-e "s,@EMAIL@,${EMAIL},g" -e "s,@EMAIL@,${EMAIL},g" \
-e "s,@YEAR@,${YEAR},g" \ -e "s,@YEAR@,${YEAR},g" \
-e "s,@KATE_MODELINE@,${KATE_MODELINE},g" \
-e "s,@VIM_MODELINE@,${VIM_MODELINE},g" \
-i {} \; || exit 1 -i {} \; || exit 1

View File

@ -1,5 +1,8 @@
@P@ @P@
======================================================================== ========================================================================
(c)2006, @AUTHOR@, <@EMAIL@>.
Released under the GNU GPLv2. See file COPYING or
http://www.gnu.org/copyleft/gpl.html for details.
Really Quick Instructions Really Quick Instructions
------------------------- -------------------------

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
# @P@/make.sh # @P@/make.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# This file is the script used to build @P@. There are some # This file is the script used to build @P@. There are some
# options that can be edited; these are set below (or you can pass them # options that can be edited; these are set below (or you can pass them
# in as variables). # in as variables).

View File

@ -2,7 +2,7 @@
<kdevelop> <kdevelop>
<general> <general>
<author>@AUTHOR@</author> <author>@AUTHOR@</author>
<email></email> <email>@EMAIL@</email>
<version>$VERSION$</version> <version>$VERSION$</version>
<projectmanagement>KDevCustomProject</projectmanagement> <projectmanagement>KDevCustomProject</projectmanagement>
<primarylanguage>C++</primarylanguage> <primarylanguage>C++</primarylanguage>

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
# @P@/test.sh # @P@/test.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# Running this script on its own will display a summary of all the # Running this script on its own will display a summary of all the
@ -48,3 +49,6 @@ then
fi fi
run_test $* run_test $*
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
# @P@/scripts/functions.sh # @P@/scripts/functions.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# Common functions # Common functions
@ -62,3 +63,6 @@ do_cmd_redir() {
return 1 return 1
fi fi
} }
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
# @P@/scripts/module-create.sh # @P@/scripts/module-create.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# Creates a new source module. # Creates a new source module.
@ -44,3 +45,6 @@ fi
source ${TEMPLATE}/instantiate source ${TEMPLATE}/instantiate
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
# @P@/scripts/module-rename.sh # @P@/scripts/module-rename.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# Renames a source module (e.g. "src/oldlib" -> "src/newlib") by running # Renames a source module (e.g. "src/oldlib" -> "src/newlib") by running
@ -44,3 +45,6 @@ echo "Moving ${OLD} -> ${NEW}"
do_cmd mv ${OLD} ${NEW} || exit 1 do_cmd mv ${OLD} ${NEW} || exit 1
do_cmd find ${NEW} -type f -exec sed -e "s,${OLD},${NEW},g" -i {} \; || exit 1 do_cmd find ${NEW} -type f -exec sed -e "s,${OLD},${NEW},g" -i {} \; || exit 1
print_success "Done" print_success "Done"
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
# @P@/scripts/release.sh # @P@/scripts/release.sh
# #
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file # (c)2006, @AUTHOR@, <@EMAIL@>.
# COPYING for more information / terms of license. # Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
# #
# Prepares package for release. Expects the version number on the # Prepares package for release. Expects the version number on the
@ -74,3 +75,6 @@ gpg -a -b "${PKGNAME}-doc.tar.bz2"
# clean up # clean up
rm -rf "${PKGNAME}" "${PKGNAME}-doc" rm -rf "${PKGNAME}" "${PKGNAME}-doc"
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4

View File

@ -1,12 +1,19 @@
# @P@/version # @P@/version
# #
# (c)2006, @AUTHOR@, <@EMAIL@>.
# Released under the GNU GPLv2. See file COPYING or
# http://www.gnu.org/copyleft/gpl.html for details.
#
# VERSION contains the full version number of the library, which is # VERSION contains the full version number of the library, which is
# expected to be in 'major.minor.micro' format. It can optionally be # expected to be in 'major.minor.micro' format. It can optionally be
# suffixed with a string. # suffixed with a string.
VERMAJOR=1 VERMAJOR=0
VERMINOR=0 VERMINOR=0
VERMICRO=2 VERMICRO=0
VEREXTRA="" VEREXTRA=""
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
# vim: expandtab:ts=4:sw=4