Wedit for Linux

3 Tips & Examples

3.1 FAQ

3.2 How to create an automake/autoconf project

Follow these steps:

Your project now uses Automake/Autoconf skeleton instead of generic Makefile. Skeleton is also configured for use of GTK+, so no further actions are neccessary to GTK-based programs.

To create source distribution of your project, go to your project directory and type (in terminal): make distcheck This will create file <project name>-0.1.tar.gz, that can be distributed and installed in well-known 'configure - make - make install way'.

Please note that all confiruration and source files are kept in the same directory. If your project gets bigger, it could be a good idea to organize your project in more refined directory structure. In such case, you'll probably also want to maintain automake/autoconf skeleton yourself. Then simply instruct Wedit to not generate Makefile anymore in Project tab

3.3 How to setup project that uses GTK+

If your project uses generic makefile (default), do the following:

Your project is now set up correctly to find GTK, GDK and GLib include files and to link against the proper libraries.

3.4 How to use Wedit for web site project

Consider following situation:

You maintain a website at www.foo.com Base URL of your site is http://www.foo.com/bar, files on server are located in /usr/local/apache/htdocs/bar directory.

You work on web files locally and upload them from time to time to the server using rsync utility. Here is how to setup Wedit for Linux project for this situation.

In the project menu, there appear two new menu items, named Sync and View, which you can use for synchronizing of your project and viewing currently edited file on server.