Root Directory

Procedure 2.

  1. Add xmldocs.make to the package's root directory. The file can be found in GNOME cvs at gnome-docu/gdp/gdp-example1/help/xmldocs.make. This file contains build templates used consistently throughout GNOME 2 for building and installing documentation.

  2. Add xmldocs.make to cvs: cvs -z3 add xmldocs.make.

  3. If one does not already exist, create a directory called omf-install and add it to cvs using cvs add.

  4. Add Makefile.am to omf-install using the template: gnome-docu/gdp/gdp-example1/omf-install/Makefile.am.

    Modify the omf_dest_dir variable, replacing packagename with the name of your package:

    	    omf_dest_dir=$(datadir)/omf/packagename
    	  

  5. Add omf-install/Makefile.am to cvs.

  6. In configure.in there is a listing, typically at the end, of Makefiles to be made, as follows:

    
    AC_OUTPUT([
    gnome-applets.spec
    Makefile
    po/Makefile.in
    src/Makefile
    ]) 
    
    	  
    To that list, add the help and omf-install directories:
    
    AC_OUTPUT([
    gnome-applets.spec
    Makefile
    po/Makefile.in
    src/Makefile
    help/Makefile
    help/C/Makefile
    omf-install/Makefile
    ]) 
    
    	  

  7. In Makefile.am, add the help and omf-install directories to SUBDIRS:

    SUBDIRS = src po help omf-install
    	  
    and add xmldocs.make to EXTRA_DIST:
    EXTRA_DIST = xmldocs.make
    	  
    .