Cleanups:
- begin switching to new copyright message - add modelines to more files
This commit is contained in:
parent
78116d06dd
commit
2eb3f126e3
|
@ -73,8 +73,10 @@ YEAR="$(date +%Y)"
|
|||
do_cmd find . -type f -exec sed \
|
||||
-e "s,@P@,${P},g" \
|
||||
-e "s,@AUTHOR@,${AUTHOR},g" \
|
||||
-e "s,@EMAIL@,${EMAIL},g"
|
||||
-e "s,@EMAIL@,${EMAIL},g" \
|
||||
-e "s,@YEAR@,${YEAR},g" \
|
||||
-e "s,@KATE_MODELINE@,${KATE_MODELINE},g" \
|
||||
-e "s,@VIM_MODELINE@,${VIM_MODELINE},g" \
|
||||
-i {} \; || exit 1
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
@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
|
||||
-------------------------
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
# @P@/make.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# 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
|
||||
# options that can be edited; these are set below (or you can pass them
|
||||
# in as variables).
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<kdevelop>
|
||||
<general>
|
||||
<author>@AUTHOR@</author>
|
||||
<email></email>
|
||||
<email>@EMAIL@</email>
|
||||
<version>$VERSION$</version>
|
||||
<projectmanagement>KDevCustomProject</projectmanagement>
|
||||
<primarylanguage>C++</primarylanguage>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
# @P@/test.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# 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
|
||||
|
@ -48,3 +49,6 @@ then
|
|||
fi
|
||||
|
||||
run_test $*
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
# @P@/scripts/functions.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# Released under the GNU GPLv2. See file COPYING or
|
||||
# http://www.gnu.org/copyleft/gpl.html for details.
|
||||
#
|
||||
|
||||
# Common functions
|
||||
|
@ -62,3 +63,6 @@ do_cmd_redir() {
|
|||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
# @P@/scripts/module-create.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# Released under the GNU GPLv2. See file COPYING or
|
||||
# http://www.gnu.org/copyleft/gpl.html for details.
|
||||
#
|
||||
|
||||
# Creates a new source module.
|
||||
|
@ -44,3 +45,6 @@ fi
|
|||
|
||||
source ${TEMPLATE}/instantiate
|
||||
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
# @P@/scripts/module-rename.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# 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
|
||||
|
@ -44,3 +45,6 @@ echo "Moving ${OLD} -> ${NEW}"
|
|||
do_cmd mv ${OLD} ${NEW} || exit 1
|
||||
do_cmd find ${NEW} -type f -exec sed -e "s,${OLD},${NEW},g" -i {} \; || exit 1
|
||||
print_success "Done"
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
# @P@/scripts/release.sh
|
||||
#
|
||||
# (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
||||
# COPYING for more information / terms of license.
|
||||
# (c)2006, @AUTHOR@, <@EMAIL@>.
|
||||
# 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
|
||||
|
@ -74,3 +75,6 @@ gpg -a -b "${PKGNAME}-doc.tar.bz2"
|
|||
|
||||
# clean up
|
||||
rm -rf "${PKGNAME}" "${PKGNAME}-doc"
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
11
skel/version
11
skel/version
|
@ -1,12 +1,19 @@
|
|||
# @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
|
||||
# expected to be in 'major.minor.micro' format. It can optionally be
|
||||
# suffixed with a string.
|
||||
VERMAJOR=1
|
||||
VERMAJOR=0
|
||||
VERMINOR=0
|
||||
VERMICRO=2
|
||||
VERMICRO=0
|
||||
VEREXTRA=""
|
||||
|
||||
# kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
||||
# vim: expandtab:ts=4:sw=4
|
||||
|
|
Loading…
Reference in New Issue