summaryrefslogtreecommitdiffstats
path: root/build
blob: 70b7e181a70391baa9ca913630c70276d122b2c5 (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/$(OPK_HOST_ARCH)/libfl.a
	rm -fv dest/usr/lib/$(OPK_HOST_ARCH)/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