summaryrefslogtreecommitdiffstats
path: root/doc/kommander/extending.docbook
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:14:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:14:11 -0600
commit99ee6fd7e9737b5441af4a6cfdd69ff4b7eff5d3 (patch)
treed2a22c2d9d515d81742f079a5550ef59463d7f00 /doc/kommander/extending.docbook
parenta2aa572b33b1c1d1ffb888cdbcf03fc628430e02 (diff)
downloadtdewebdev-99ee6fd7e9737b5441af4a6cfdd69ff4b7eff5d3.tar.gz
tdewebdev-99ee6fd7e9737b5441af4a6cfdd69ff4b7eff5d3.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'doc/kommander/extending.docbook')
-rw-r--r--doc/kommander/extending.docbook8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/kommander/extending.docbook b/doc/kommander/extending.docbook
index 1adfdc25..473b8ec5 100644
--- a/doc/kommander/extending.docbook
+++ b/doc/kommander/extending.docbook
@@ -346,12 +346,12 @@ mykomplugin.cpp, compiling and installing your plugin would involve
something similar to the following commands:
</para>
<screen>
-libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \
+libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \
-I. -fPIC -c komlineedit.cpp
-libtool --mode=compile g++ -$KDEDIR/include -IQTDIR/include \
+libtool --mode=compile g++ -$TDEDIR/include -IQTDIR/include \
-I. -fPIC -c mykomplugin.cpp
-libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \
+libtool --mode=link g++ -shared -L$TDEDIR/lib -ltdeui -lkommanderwidget \
-lkommanderplugin komlineedit.cppkomlineedit.o mykomplugin.o
-o libmykomplugin.so
</screen>
@@ -359,7 +359,7 @@ libtool --mode=link g++ -shared -L$KDEDIR/lib -ltdeui -lkommanderwidget \
If you want to install new plugin system-wide, root, use:
</para>
<screen>
-su -c "cp libmykomplugin.so $KDEDIR/lib"
+su -c "cp libmykomplugin.so $TDEDIR/lib"
</screen>
<note><para>If you use the KDevelop project generator, you will not need to do the above, but instead adapt the Makefile.am to link against extra libraries. By default, it will link to &Qt; and &kde; libraries and generate all the needed object files. Just run <command>make</command> to build, and <command>su -c make install</command> to install.</para></note>
</sect2>