[linux] 07/18: Install copyright file when the nodoc profile is used
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sun Oct 1 15:18:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux.
commit cd2b0b174283ef9b5a1b2c9e8e9d67ad67b81ad3
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sat Sep 30 13:42:12 2017 +0100
Install copyright file when the nodoc profile is used
Revert to running dh_installdocs unconditionally, although that
currently installs more than we want (which is permitted by policy).
When we upgrade to debhelper compat level 11, dh_installdocs will
become sensitive to the profile and will install only the copyright
file in this case. But we shouldn't do that until development of
this level is complete and supported in stretch-backports.
---
debian/changelog | 2 ++
debian/rules.real | 16 ++--------------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 035040c..2801396 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
- linux-doc: Build an empty package when the nodoc profile is used
- [x86] hyperv-daemons: Create pid files under /run, not /var/run
- Change all binary packages with priority: extra to priority: optional
+ - Install copyright file (and some other documentation) when the nodoc
+ profile is used
[ Uwe Kleine-König ]
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
diff --git a/debian/rules.real b/debian/rules.real
index 2b2a09c..82d9a6d 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -203,9 +203,7 @@ endif
@$(stamp)
install-base:
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs $(INSTALLDOCS_ARGS)
-endif
dh_installchangelogs
dh_compress
dh_fixperms
@@ -552,9 +550,7 @@ install-kbuild: $(STAMPS_DIR)/build-tools
$(call make-tools,scripts) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
dh_link $(PREFIX_DIR) /usr/src/$(PACKAGE_NAME)
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
-endif
dh_strip
dh_compress
dh_fixperms
@@ -584,8 +580,8 @@ ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
endif
dh_install --sourcedir=$(DIR)
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installman
endif
dh_strip
@@ -609,9 +605,7 @@ install-perf: $(STAMPS_DIR)/build-tools
dh_perl /usr/share/perf_$(VERSION)-core/scripts/perl/Perf-Trace-Util/lib/
dh_python2 /usr/share/perf_$(VERSION)-core/scripts/python/Perf-Trace-Util/lib/
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
-endif
dh_lintian
dh_strip
dh_compress
@@ -631,8 +625,8 @@ install-usbip: $(STAMPS_DIR)/build-tools
$(call make-tools,tools/usb/usbip) install DESTDIR=$(DIR)
dh_install --sourcedir=$(DIR)
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installman
endif
dh_lintian
@@ -662,9 +656,7 @@ install-hyperv-daemons: $(STAMPS_DIR)/build-tools
|| break; \
done
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
-endif
dh_systemd_enable
for service in fcopy kvp vss; do \
dh_installinit --name hyperv-daemons.hv-$$service-daemon \
@@ -693,9 +685,7 @@ install-liblockdep: $(STAMPS_DIR)/build-tools
'usr/lib/*/liblockdep.so.*'
dh_install --sourcedir=$(DIR)
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
-endif
dh_strip
dh_compress
dh_fixperms
@@ -720,9 +710,7 @@ install-lockdep:
> $(DIR)/usr/bin/lockdep
chmod 755 $(DIR)/usr/bin/lockdep
dh_installchangelogs
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs
-endif
dh_compress
dh_fixperms
dh_installdeb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list