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

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	if [ x'$(OPK_BUILD_ARCH)' = x'$(OPK_HOST_ARCH)' ]; then \
		oh-autotest; \
	fi
	touch $@

install: build
	oh-autoinstall
	rm -fv dest/usr/lib/amd64-linux-glibc/libfl.a
	rm -fv dest/usr/lib/amd64-linux-glibc/libfl.la
	set -e; for f in AUTHORS COPYING NEWS ONEWS README.md; do \
		rm -fv "dest/usr/share/doc/flex/$${f}"; \
	done
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps