Documentation fixes. OC has been replaced by TH in the public headers.
[xiph/unicode.git] / ogg2 / HACKING
blob3d03a4d781327a96f144204f57f154d80f8dc1c6
1 Note that these instructions are *not* necessary for distribution
2 tarballs; they have separate configure/build instructions.  
4 Building this package from SVN is mainly intended for developers.
5 General users should obtain official distribution packages; both
6 source and binary distributions are available at
7 http://www.vorbis.com/.
9 -----
11 These are *brief* instructions on how to build this package from SVN.
12 Yes, there are details left out.
14 There are generally four steps necessary when building from SVN (i.e.,
15 a developer's copy):
17 1. SVN checkout of the sources, or SVN update.  RTFM from your
18    favorite flavor of SVN documentation; information on the xiph.org
19    SVN repository can be found at http://svn.xiph.org/
21 2. [re-]generate files such as "configure" and "Makefile.in" with the
22    GNU autoconf/automake tools.  Run the "autogen.sh" script to
23    perform this step.  
25    *** IF YOU ARE NOT BUILDING WITH GNU MAKE *AND* GCC: you must set
26    the AUTOMAKE_FLAGS environment variable to "--include-deps"
27    before running autogen.sh.  For example:
29    csh% setenv AUTOMAKE_FLAGS --include-deps
30    csh% ./autogen.sh
31      or
32    sh% AUTOMAKE_FLAGS=--include-deps ./autogen.sh
34 3. Run configure.  There are several options available; see
35    "./configure --help" for more information.
37 4. Run "make" to build the source.  
39 In general, steps 2 and 3 need to be re-run every time any of the
40 following files are modified (either manually or by a SVN update):
42           configure.in
43           acinclude.m4
45 Running "make clean" after running steps 2 and 3 is generally also
46 advisable before running step 4.  It isn't *always* necessary, but
47 unless you understand the workings of autoconf/automake, it's safest
48 to just do it.