]> git.sesse.net Git - vlc/blobdiff - HACKING
* modules/packetizer/mpegvideo.c: Correctly flag the picture types in
[vlc] / HACKING
diff --git a/HACKING b/HACKING
index c5425dfb622f5bb2c22e9f6de0c2aa6ea36af06f..63e3b77abf06e9802ebe697e6d88afd18da37980 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -1,4 +1,4 @@
-$Id: HACKING,v 1.6 2002/10/07 21:58:40 massiot Exp $
+$Id: HACKING,v 1.10 2003/07/07 17:01:16 sam Exp $
 
 Hacking vlc
 ===========
@@ -35,16 +35,19 @@ The bootstrap sequence
 
 The bootstrap script does the following actions:
 
- - browse the modules/ directory for all available modules. A module "foo"
-   exists if there is a Modules.am file in the modules/ directory which
-   defines SOURCES_foo.
+ - parse configure.ac for all Makefiles in the modules/ directory that need
+   to be generated, and look for available modules in the corresponding
+   Modules.am file. A module "foo" exists if there is a Modules.am file in
+   the modules/ directory which defines SOURCES_foo.
 
  - create a top-level Modules.am file (which will be included by Makefile.am)
    which contains additional build rules for modules, and includes all the
    Modules.am files that were found in modules/
 
- - create a top-level configure.ac file from configure.ac.in, generating
-   the AC_SUBST and AM_CONDITIONAL rules that will be needed.
+ - create an m4/private.m4 from configure.ac, generating m4 macros that will
+   be needed by configure.ac.
+
+ - create a Makefile.am file for each Modules.am file found in modules/ .
 
  - run autopoint (previously gettextize) to create an intl/ directory,
    needed when libgettext is not available.
@@ -61,5 +64,8 @@ How to add a module
 
 To add a module to the repository, just add its sources to a Modules.am
 file. If you create a new Modules.am, do not forget to add a corresponding
-line to modules/Makefile.am.
+Makefile line at the end of configure.ac.
+
+To have the module built, you need to add a call to AX_ADD_PLUGINS or
+AX_ADD_BUILTINS to configure.ac with your new module name as argument.