summaryrefslogtreecommitdiffstats
path: root/doc/api/HowToAddApplicationTemplates.dox
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/HowToAddApplicationTemplates.dox')
-rw-r--r--doc/api/HowToAddApplicationTemplates.dox12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/HowToAddApplicationTemplates.dox b/doc/api/HowToAddApplicationTemplates.dox
index f53ce4f8..1da5a3e5 100644
--- a/doc/api/HowToAddApplicationTemplates.dox
+++ b/doc/api/HowToAddApplicationTemplates.dox
@@ -27,7 +27,7 @@ applications like kedit as well as plugins for example for tdevelop or noatun.\n
\section templates_1 I. Example: How To Create a Simple KDE Application Template "KHello"
-You can find this template in <code>$TDEDIR/share/apps/kdevappwizard/template-khello</code>.
+You can find this template in <code>$TDEDIR/share/apps/tdevappwizard/template-khello</code>.
\subsection templates_1_1 I.1. Step 1: Basic Skeleton
@@ -64,7 +64,7 @@ wizard will replace:
- \%{YEAR} ........ by the year
.
</pre></code>
-All this can be found in <code>$TDEDIR/share/apps/kdevappwizard/template-common/tdevelop.pm</code>.
+All this can be found in <code>$TDEDIR/share/apps/tdevappwizard/template-common/tdevelop.pm</code>.
\subsubsection templates_1_2a I.2.1. The Source Files
The files <code>template-khello/app.cpp, template-khello/app.h</code> and
@@ -135,22 +135,22 @@ if [ `id -u` = 0 ]; then
# we are root so install the template into the global kde directory
kde_dir=`tde-config --prefix`
else
- # we are a user so install it into $HOME/.trinity/share/apps/kdevappwizard directory
+ # we are a user so install it into $HOME/.trinity/share/apps/tdevappwizard directory
kde_dir=`tde-config --localprefix`
echo "Note: It would be better to install as root. Press CTRL+C to abort"
fi
# use usual path or another one?
-echo "Install dir [${kde_dir}/share/apps/kdevappwizard]:"
+echo "Install dir [${kde_dir}/share/apps/tdevappwizard]:"
read newdir
-if [ "$newdir"a = a ]; then newdir="${kde_dir}/share/apps/kdevappwizard/"; fi
+if [ "$newdir"a = a ]; then newdir="${kde_dir}/share/apps/tdevappwizard/"; fi
# make sure the directories exist
if [ ! -e "${newdir}/template-khello" ]; then mkdir -p "${newdir}/template-khello" ; fi;
if [ ! -e "${newdir}/templates" ]; then mkdir -p "${newdir}/templates" ; fi;
if [ ! -e "${newdir}" ]; then mkdir -p "$newdir" ; fi;
-if [ ! -e "${newdir}/template-common" ]; then ln -s "${kde_prefix}/share/apps/kdevappwizard/template-common" "${newdir}/template-common" ; fi;
+if [ ! -e "${newdir}/template-common" ]; then ln -s "${kde_prefix}/share/apps/tdevappwizard/template-common" "${newdir}/template-common" ; fi;
# install now
cp -R --target-directory "$newdir" template-khello