[Reproducible-commits] [dpkg] 18/63: build: Use AC_SUBST instead of AC_DEFINE for BUILD_DEVEL_DOCS
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Mar 4 17:44:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/buildinfo
in repository dpkg.
commit 6033ef0550a7ad189f857ac366ae9745013ccf77
Author: Guillem Jover <guillem at debian.org>
Date: Sun Feb 21 09:22:46 2016 +0100
build: Use AC_SUBST instead of AC_DEFINE for BUILD_DEVEL_DOCS
---
debian/changelog | 2 ++
m4/dpkg-build.m4 | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index acd7050..5ad6461 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,8 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
- Only warn once when a diff patches a file multiple times in
Dpkg::Source::Patch, and fix the warning message to make it clear that
the diff might be patchig the file more than once, not just twice.
+ * Build system:
+ - Fix building development documentation.
* Test suite:
- Add a unit test to compile perl code with warnings.
* Documentation:
diff --git a/m4/dpkg-build.m4 b/m4/dpkg-build.m4
index 294d3b9..1d2e944 100644
--- a/m4/dpkg-build.m4
+++ b/m4/dpkg-build.m4
@@ -40,9 +40,9 @@ AC_DEFUN([DPKG_BUILD_DEVEL_DOCS], [
[build_devel_docs=yes]
)
AS_IF([test "x$build_devel_docs" = "xyes"], [
- AC_DEFINE([BUILD_DEVEL_DOCS], [YES], [Define to YES if building devel docs.])
+ AC_SUBST([BUILD_DEVEL_DOCS], [YES])
], [
- AC_DEFINE([BUILD_DEVEL_DOCS], [NO])
+ AC_SUBST([BUILD_DEVEL_DOCS], [NO])
])
])# DPKG_BUILD_DOCS_MODE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list