summaryrefslogtreecommitdiff
path: root/docs/template.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/template.txt')
-rw-r--r--docs/template.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/template.txt b/docs/template.txt
index bd93178..5200d1f 100644
--- a/docs/template.txt
+++ b/docs/template.txt
@@ -88,15 +88,15 @@ Customize
man ./docs/template.1
Renaming template into your project name
- Rename all files which have *template* included into your own new package
- name. You can do that with:
+ Rename all files which have *template* included into your own new
+ package name. You can do that with:
PROJECTNAME=yourproject
find . -name \*template\* |
while read template; do git mv $template ${template/template/$PROJECTNAME}; done
- Search all content and rename *template* into your own new package name. You
- can do that with:
+ Search all content and rename *template* into your own new package name.
+ You can do that with:
grep -R template . | grep -v .git |
cut -d: -f1 | uniq | xargs sed -i "s/template/$PROJECTNAME/g"
@@ -105,9 +105,7 @@ Customize
Edit the following files accordingly to your new project (e.g. with
vim):
- ./debian/control
- ./debian/copyright
- ./debian/README
+ vim ./debian/{control,copyright,README}
Update changelog
Go to the to level directory and run