---
name: "em_make"
section: "1"
platform: "linux"
package: "emdebian-tools"
version: "1.4.3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/em_make"
---

# em\_make(1)

em\_make is the emdebian version of dh\_make.

## NAME

em\_make - em\_make is the emdebian version of dh\_make.

## SYNOPSIS

**em\_make** \[\[-a\] \| \[--arch\] *ARCH*\] \[\[-v\] \| \[--verbose\]\] \[\[-q\] \| \[--quiet\]\]

**em\_make** \[\[-h\] \| \[--help\]\] \[\[--version\]\]

## DESCRIPTION

*em\_make* is an emdebian equivalent for *dh\_make* and uses some of the same code.

*em\_make* only does so much - many packages will require manual editing of debian/rules or other files to make a usable emdebian package.

*em\_make* calculates an emdebian versionstring for an initial emdebian release and inserts an entry into debian/changelog. *em\_make* parses debian/control (or debian/control.in if it exists), truncates all debian/\*.doc-base.\* files and removes all package descriptions that end in -doc from debian/control.

only run em\_make once

**em\_make** is intended to only be run once within a particular source tree. Use *emdebuild* **-n** to build subsequent releases from the same tree.

### TODO

• A method to detect and override settings to run ./configure tests.

## OPTIONS

**-a**\|**--arch** ARCH

Specify the target architecture - used to check if a suitable toolchain exists. Default is set by *dpkg-cross* using debconf.

**-v**\|**--verbose**

be verbose - repeat once for extra verbosity.

**-q**\|**--quiet**

be quiet.

**-h**\|**--help**

print the usage message and exit.

- **--version**

  print the usage message and exit.

## PROBLEMS

Sometimes, **em\_make** fails to recognise a split line in *debian/rules* and removes the first part of the command (e.g. *dh\_installdocs*) but not the second - this causes a build failure, often ´Command not found´. These problems show up in the *../emdebian-rules.patch* file and *debian/rules* needs to be edited to remove the stubs.

This is a bug in *em\_make* which should be fixed in future releases.

## MANUAL EDITING

Manual editing of *debian/rules* is still necessary because not all packages use recognisable methods to install **info** or **man** pages. Ensure you check *debian/rules* for hand-crafted rules that install to */usr/share/man*, */usr/share/info* or */usr/share/doc* and check the eventual packages with *dpkg -c* or *deb-gview*.

**lintian** and **linda** overrides are not currently used or needed in Emdebian but these files are very small. There is no particular Emdebian policy on these files, yet.

Note that *debc* may need some help - specify the location of the emdebian .changes file (which itself is output as a result of *emdebuild* calling *debsign* at the end of a successful build).

## AUTHOR

**em\_make** was written by Neil Williams \<codehelp@debian.org\>.

This manual page was written by Neil Williams \<codehelp@debian.org\>

## SEE ALSO

See also *apt-cross* (1), *dpkg-cross* (1), *emdebian-tools* (1).

## AUTHOR

**Emdebian**

**Neil Williams**

-

  Author.

## COPYRIGHT
