diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/template.1 | 10 | ||||
| -rw-r--r-- | docs/template.txt | 12 |
2 files changed, 9 insertions, 13 deletions
diff --git a/docs/template.1 b/docs/template.1 index 3e2d73d..a2947fa 100644 --- a/docs/template.1 +++ b/docs/template.1 @@ -123,8 +123,8 @@ .rm #[ #] #H #V #F C .\" ======================================================================== .\" -.IX Title "FOO 1" -.TH FOO 1 "2014-02-03" "template 0.0.0.0" "User Commands" +.IX Title "TEMPLATE 1" +.TH TEMPLATE 1 "2014-04-10" "template 0.0.0" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -254,10 +254,8 @@ Search all content and rename *template* into your own new package name. You can .IX Subsection "Updating ./debian" Edit the following files accordingly to your new project (e.g. with vim): .PP -.Vb 3 -\& ./debian/control -\& ./debian/copyright -\& ./debian/README +.Vb 1 +\& vim ./debian/{control,copyright,README} .Ve .SS "Update changelog" .IX Subsection "Update changelog" 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 |
