Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   dpkg-buildpackage    ( 1 )

создавать бинарные пакеты или пакеты с исходным кодом из исходников (build binary or source packages from sources)

  Name  |  Synopsis  |  Description  |  Options  |  Environment  |  Files  |    Note    |  Bugs  |  See also  |

Примечание (Note)

Compiler flags are no longer exported
       Between dpkg 1.14.17 and 1.16.1, dpkg-buildpackage exported
       compiler flags (CFLAGS, CXXFLAGS, FFLAGS, CPPFLAGS and LDFLAGS)
       with values as returned by dpkg-buildflags. This is no longer the
       case.

Default build targets dpkg-buildpackage is using the build-arch and build-indep targets since dpkg 1.16.2. Those targets are thus mandatory. But to avoid breakages of existing packages, and ease the transition, if the source package does not build both architecture independent and dependent binary packages (since dpkg 1.18.8) it will fallback to use the build target if make -f debian/rules -qn build-target returns 2 as exit code.