Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Version the macros so that both can be used, and default the unversioned
one to the version 0 macro.
|
|
Add a missing comma, and $(shell) make function invocation.
Closes: #913816
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
The dpkg-architecture(1) man page states that these variables are
exported, and that's what dpkg-buildpackage does itself when setting
up the build environment. Doing this is always safe.
Closes: #888964
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
This adds support for AS, STRIP, OBJCOPY, OBJDUMP, NM, AR and RANLIB.
Prompted-by: Helmut Grohne <helmut@subdivi.de>
|
|
This make fragment contains setup for build tool variables for both TOOL
and TOOL_FOR_BUILD. It does not get included by default from default.mk
|
|
|
|
|
|
The minimally guaranteed entry point to build packages is the
debian/rules file, dpkg-buildpackage and any environment it sets up
cannot be relied upon.
Export this variable from pkg-info.mk preset from the debian/changelog
Timestamp.
Closes: #824572
|
|
Regression introduced in commit 486241a9d3521ed093be9a02b00f4d404dc39b35.
Otherwise the values are not computed lazily, many of which are quite
expensive. Rename dpkg_late_eval to dpkg_lazy_eval so that the other
makefiles can be intermixed with the ones needing the extra level of
escaping.
Closes: #793330
|
|
There's no point in preserving the file metadata if we are going to
overwrite it from a shell redirection.
|
|
|
|
Missed in commit f29ed62d0c340869752c61d55a2df74159c31625.
|
|
The build flags depend on options specified in DEB_BUILD_OPTIONS,
otherwise things like noopt do not work.
|
|
Add default values in Debian and derivatives for these flags.
Distinguish FFLAGS from FCFLAGS by mentioning that the former is for the
Fortran 77 compiler and the latter for the Fortran 9x compiler.
Closes: #744326
|
|
Regression introduced in commit a86454180804ee6b54732697e2105708dfce1b82.
Closes: #718014
|
|
This adds default flags for the GNU Compiler for Java, and the
supported hardened flags. We do not name the variable JFLAGS nor
JAVAFLAGS, to make it very clear these are not flags for javac,
they are only for GCJ; so we use the automake variable name as
existing precedent.
Closes: #708375
|
|
|
|
Use loops and template code instead of duplicating many similar lines.
This avoids copy&paste typos, is shorter and easier to modify.
Based-on-patch-by: Thorsten Glaser <tg@mirbsd.de>
|
|
Make does not export its own variables (even those which have been
exported explicitly) to sub-shells executed with $(shell …). Since
dpkg-buildflags is called that way, we have to modify the command
line to embed variable initializations to ensure that we forward the
variables that have been set by the maintainer in debian/rules.
Since this code required to loop over all possible flags, I took
the opportunity to also set the output variables within a loop construct
using a single template (avoids copy&paste mistakes).
Reported-by: Pierre Chifflier <pollux@debian.org>
|
|
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: Guillem Jover <guillem@debian.org>
|
|
|
|
Update DEB_DISTRIBUTION to return all distributions listed in the current
changelog entry instead of only the first one.
|
|
Rename DEB_VERSION_NOREV and DEB_VERSION_NOEPOCH to
DEB_VERSION_EPOCH_UPSTREAM and DEB_VERSION_UPSTREAM_REVISION to define
them by inclusion rather than by exclusion.
Rename DEB_SOURCE_PACKAGE into the less verbose DEB_SOURCE.
Suggested-by: Guillem Jover <guillem@debian.org>
|
|
|
|
data/architecture.mk: variables related to dpkg-architecture
data/buildflags.mk: variables related to dpkg-builflags
data/vendor.mk: variables related to dpkg-vendor
data/default.mk: all of the above
|