diff options
Diffstat (limited to 'README-hacking')
-rw-r--r-- | README-hacking | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/README-hacking b/README-hacking index 74cb866..7037357 100644 --- a/README-hacking +++ b/README-hacking @@ -44,2 +44,4 @@ which are extracted from other source packages: +Use one or more --verbose options to see details about its progress. + Once done, proceed as described in the file README (section @@ -47,14 +49,2 @@ INSTALLATION). -Normally you will have to run bootstrap only once. However, if you -intend to hack on Dico, you might need to run it again later. In -this case, you will probably want to save some time and bandwidth by -avoiding downloading the same files again. If so, create in the project's -root directory a file named `.bootstrap' with the following -contents: - - --gnulib-srcdir=$HOME/gnulib - -Replace `$HOME/gnulib' with the actual directory where the Gnulib -sources reside. - For more information about `bootstrap', run `bootstrap --help'. @@ -63,5 +53,5 @@ For more information about `bootstrap', run `bootstrap --help'. -To debug dictd, use the following command: +To debug dicod, use the following command: - libtool --mode execute gdb dictd + libtool --mode execute gdb dicod @@ -69,3 +59,3 @@ For debugging from Emacs run: - M-x gdb RET gud-wrapper dictd RET + M-x gdb RET gud-wrapper dicod RET @@ -73,2 +63,16 @@ For debugging from Emacs run: +* Adding new modules + +If you want to add a new module to Dico (e.g. named `foo'), run the +following command from the Dico source tree topmost directory: + + ./bootstrap --add foo + +This will create the directory modules/foo, populate it with the +necessary files, and add the appropriate statements to configure.ac +and modules/Makefile.am files. + +After running this command, change to the modules/foo directory and +start hacking on your new module. + @@ -76,3 +80,3 @@ For debugging from Emacs run: -Copyright (C) 2008, 2010, 2012 Sergey Poznyakoff +Copyright (C) 2008, 2010, 2012, 2016 Sergey Poznyakoff |