summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/build b/build
index ba50f9c..5a5b489 100755
--- a/build
+++ b/build
@@ -8,3 +8,11 @@ nop:
build:
oh-autobuild </dev/null
touch $@
+
+install: build
+ oh-autoinstall -- \
+ DIST='$$(DESTDIR)' \
+ MANDIR=/usr/share/man
+ # Remove bcc and ELKS libc things for now.
+ rm -Rf dest/usr/lib/bcc dest/usr/bin/bcc \
+ dest/usr/share/man/man1/bcc.1 dest/usr/share/man/man1/elks*.1