[kernel] r19108 - dists/trunk/linux-tools/debian/patches

Ben Hutchings benh at alioth.debian.org
Sat Jun 9 19:18:47 UTC 2012


Author: benh
Date: Sat Jun  9 19:18:46 2012
New Revision: 19108

Log:
Fix version insertion in perf man page title

Modified:
   dists/trunk/linux-tools/debian/patches/tools-perf-version.patch

Modified: dists/trunk/linux-tools/debian/patches/tools-perf-version.patch
==============================================================================
--- dists/trunk/linux-tools/debian/patches/tools-perf-version.patch	Sat Jun  9 18:55:31 2012	(r19107)
+++ dists/trunk/linux-tools/debian/patches/tools-perf-version.patch	Sat Jun  9 19:18:46 2012	(r19108)
@@ -29,7 +29,7 @@
 +
 +install-man-perf.1: $(OUTPUT)perf.1
 +	$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
-+	sed -e 's/"perf"/"perf_$(VERSION)"/' -e 's/fBperf-/fBperf_$(VERSION)-/g' $^ > $(DESTDIR)$(man1dir)/perf_$(VERSION).1
++	sed -e 's/"PERF"/"PERF_$(VERSION)"/' -e 's/fBperf-/fBperf_$(VERSION)-/g' $^ > $(DESTDIR)$(man1dir)/perf_$(VERSION).1
 +
 +install-man-perf%.1: $(OUTPUT)perf%.1
  	$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
@@ -38,7 +38,7 @@
 -	$(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
 -#	$(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
 -#	$(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
-+	sed -e 's/"perf-/"perf_$(VERSION)-/' -e 's/fBperf-/fBperf_$(VERSION)-/g' $^ > $(DESTDIR)$(man1dir)/perf_$(VERSION)$*.1
++	sed -e 's/"PERF\\-/"PERF_$(VERSION)\\-/' -e 's/fBperf-/fBperf_$(VERSION)-/g' $^ > $(DESTDIR)$(man1dir)/perf_$(VERSION)$*.1
  
  install-info: info
  	$(INSTALL) -d -m 755 $(DESTDIR)$(infodir)



More information about the Kernel-svn-changes mailing list