[kernel] r22813 - dists/trunk/linux/debian/patches/bugfix/all

Ben Hutchings benh at moszumanska.debian.org
Wed Jul 8 01:01:30 UTC 2015


Author: benh
Date: Wed Jul  8 01:01:30 2015
New Revision: 22813

Log:
DocBook: Fix duplicate man pages (v2)

Modified:
   dists/trunk/linux/debian/patches/bugfix/all/docbook-fix-duplicate-man-pages.patch

Modified: dists/trunk/linux/debian/patches/bugfix/all/docbook-fix-duplicate-man-pages.patch
==============================================================================
--- dists/trunk/linux/debian/patches/bugfix/all/docbook-fix-duplicate-man-pages.patch	Wed Jul  8 01:00:56 2015	(r22812)
+++ dists/trunk/linux/debian/patches/bugfix/all/docbook-fix-duplicate-man-pages.patch	Wed Jul  8 01:01:30 2015	(r22813)
@@ -34,8 +34,8 @@
  
  MAN := $(patsubst %.xml, %.9, $(BOOKS))
  mandocs: $(MAN)
-+	@dups=$(sed -n 's/.*<refname>\([^<]*\)<\/refname>.*/\1/p'	\
-+		 $(patsubst %, %.noextra, $(BOOKS)))| sort | uniq -d);	\
++	@dups=$$(sed -n 's/.*<refname>\([^<]*\)<\/refname>.*/\1/p'	\
++		 $(obj)/*.xml.noextra | sort | uniq -d);		\
 +	if [ -n "$$dups" ]; then					\
 +		echo >&2 "The following manual pages are generated more than once:"; \
 +		printf >&2 '%s\n' "$$dups";				\



More information about the Kernel-svn-changes mailing list