[arch-commits] Commit in linux-tools/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Wed Sep 4 11:56:05 UTC 2019


    Date: Wednesday, September 4, 2019 @ 11:56:05
  Author: seblu
Revision: 508011

FS#63365

Modified:
  linux-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-04 11:55:49 UTC (rev 508010)
+++ PKGBUILD	2019-09-04 11:56:05 UTC (rev 508011)
@@ -16,7 +16,7 @@
   'x86_energy_perf_policy'
 )
 pkgver=5.2
-pkgrel=1
+pkgrel=2
 license=('GPL2')
 arch=('x86_64')
 url='https://www.kernel.org'
@@ -126,10 +126,8 @@
   msg2 'bpf'
   pushd linux/tools/bpf
   # doesn't compile when we don't first compile bpftool in its directory
-  cd bpftool
+  make -C bpftool all doc
   make
-  cd ..
-  make
   popd
 }
 
@@ -291,6 +289,8 @@
   # fix bpftool hard written path
   mv "$pkgdir"/usr/sbin/bpftool "$pkgdir"/usr/bin/bpftool
   rmdir "$pkgdir"/usr/sbin
+  # install man pages
+  make -C bpftool doc-install prefix=/usr DESTDIR="$pkgdir"
 }
 
 # vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list