MM-COMMON-PREPARE(1) mm-common 1.0.8 MM-COMMON-PREPARE(1)

# [NAME](#NAME)

mm-common-prepare - Prepare a C++ binding module to use mm-common and Autotools

# [SYNOPSIS](#SYNOPSIS)

**mm-common-prepare** \[*OPTION*]... \[*SOURCE-DIR*]

# [DESCRIPTION](#DESCRIPTION)

Run **mm-common-prepare** to copy the *mm-common* build support files into the source tree of a C++ binding module. The exact location these files will be copied to can be influenced through special macros in the *configure.ac* file.

[**AC\_CONFIG\_AUX\_DIR(\[AUX-DIR\])**](#AC_CONFIG_AUX_DIR%28)

The Automake include files are placed into the *AUX-DIR* subdirectory of the top-level source directory. If **AC\_CONFIG\_AUX\_DIR** is not specified, the files are placed at the top-level of the module's source tree.

[**MM\_CONFIG\_DOCTOOL\_DIR(\[DOCTOOL-DIR\])**](#MM_CONFIG_DOCTOOL_DIR%28)

If the **MM\_CONFIG\_DOCTOOL\_DIR** macro is called with an explicit *DOCTOOL-DIR* argument, the common utilities required for generating and installing the reference documentation of a C++ binding module will be copied to the named subdirectory. If **MM\_CONFIG\_DOCTOOL\_DIR** is not used or does not specify a *DOCTOOL-DIR* argument, **mm-common-prepare** will not copy the documentation utility files into the module's source tree. Instead, it is assumed that the module depends on *mm-common* and can use the installed documentation utilities that come with it.

If no *SOURCE-DIR* argument has been specified on the command line, the current working directory will be used.

# [OPTIONS](#OPTIONS)

[**-c**, **--copy**](#c)

copy files instead of creating symbolic links to them

[**-f**, **--force**](#f)

forcefully replace existing files or symbolic links

[**--help**](#help)

display a help message and exit

[**--version**](#version)

show version information and exit

# [EXIT STATUS](#EXIT_STATUS)

The exit status is 0 if OK, or 1 if an error occurred.

# [FILES](#FILES)

The build support files currently copied by **mm-common-prepare** are listed below.

[**Automake include files copied to AUX-DIR:**](#Automake)

*compile-binding.am*

*dist-changelog.am*

*doc-reference.am*

*generate-binding.am*

[**Documentation utilities copied to DOCTOOL-DIR:**](#Documentation)

*doc-install.pl*

*doc-postprocess.pl*

*doxygen.css*

*doxygen-extra.css*

*tagfile-to-devhelp2.xsl*

# [SEE ALSO](#SEE_ALSO)

[**autoreconf**(1)](/man/os/mm-common/autoreconf.1), [**mm-common-get**(1)](/man/os/mm-common/mm-common-get.1)

*/usr/share/doc/mm-common/README*

*/usr/share/doc/mm-common/skeletonmm.tar.xz or*

*/usr/share/doc/mm-common/skeletonmm.tar.gz*

2014-08-13 GNOME

---

Document: mm-common-prepare(1) from mm-common 1.0.8-r0 (Chainguard OS)
Source: https://gitlab.gnome.org/GNOME/mm-common
