summaryrefslogtreecommitdiffstats
path: root/build
blob: c4f1bd5815ad02282f83fdb5118b38f6213cc8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

include ../source.mk

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
	oh-fixperms
	oh-strip
	oh-installfiles