From b1696a55c38a1838ca25ebad58cd5b9ad48a9b75 Mon Sep 17 00:00:00 2001 From: "Paul C. Buetow (mars.fritz.box)" Date: Fri, 4 Jul 2014 21:48:08 +0200 Subject: rename --- README.pod | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'README.pod') diff --git a/README.pod b/README.pod index 76de14e..65625e3 100644 --- a/README.pod +++ b/README.pod @@ -1,12 +1,12 @@ =head1 NAME -template - A template project +muttdelay - A muttdelay project =head1 WTF? You may use this project in order to build your own Debian package for your own project. This has been tested with Debian GNU/Linux Squeeze and Debian GNU/Linux Wheezy. -Feel free to modify any aspects. This project is just an empty example template. +Feel free to modify any aspects. This project is just an empty example muttdelay. Follow these steps: @@ -26,7 +26,7 @@ Go to the to level directory and run To test run - ./bin/template + ./bin/muttdelay It should print out the version number of the project. @@ -38,27 +38,27 @@ Go to the to level directory and run It will create the files like: - ../template_0.0.0.0_all.deb - ../template_0.0.0.0.dsc - ../template_0.0.0.0_amd64.changes - ../template_0.0.0.0.tar.gz + ../muttdelay_0.0.0.0_all.deb + ../muttdelay_0.0.0.0.dsc + ../muttdelay_0.0.0.0_amd64.changes + ../muttdelay_0.0.0.0.tar.gz It should create a debian package in ../. Check and install it, e.g: - lintian --pedantic ../template_0.0.0.0_all.deb - sudo dpkg -i ../template_0.0.0.0_all.deb + lintian --pedantic ../muttdelay_0.0.0.0_all.deb + sudo dpkg -i ../muttdelay_0.0.0.0_all.deb Run - dpkg -L template + dpkg -L muttdelay to see whats in there. You can now run - /usr/bin/template + /usr/bin/muttdelay or for example - man template + man muttdelay =head2 Read the Makefile @@ -80,26 +80,26 @@ You should also consider the following: =head2 Manual page -This template is using POD for creating manual pages. Edit ./docs/template.pod and run +This muttdelay is using POD for creating manual pages. Edit ./docs/muttdelay.pod and run make documentation -in order to build ./docs/template.1. The page will be included in the resulting debian package automatically. You can review the page with +in order to build ./docs/muttdelay.1. The page will be included in the resulting debian package automatically. You can review the page with - man ./docs/template.1 + man ./docs/muttdelay.1 -=head2 Renaming template into your project name +=head2 Renaming muttdelay 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 *muttdelay* 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 + find . -name \*muttdelay\* | + while read muttdelay; do git mv $muttdelay ${muttdelay/muttdelay/$PROJECTNAME}; done -Search all content and rename *template* into your own new package name. You can do that with: +Search all content and rename *muttdelay* 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" + grep -R muttdelay . | grep -v .git | + cut -d: -f1 | uniq | xargs sed -i "s/muttdelay/$PROJECTNAME/g" =head2 Updating ./debian -- cgit v1.2.3