summaryrefslogtreecommitdiffstats
path: root/build
blob: a7c1cb743c0bce907df546bcf586479f91ab4574 (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
25
26
27
28
29
#! /usr/bin/make -f

nop:
	@:

configure:
	oh-autoconfigure
	touch $@

build: configure
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.a'
	rm -f 'dest/usr/lib/$(OPK_HOST_ARCH)/libexpat.la'
	install -D dest/usr/share/doc/expat/AUTHORS \
		dest/usr/share/doc/libexpat.1/AUTHORS
	rm -f dest/usr/share/doc/expat/*
	oh-fixperms
	oh-strip -k
	oh-installfiles
	oh-shlibdeps

clean:
	oh-autoclean
	rm -f configure build
	rm -Rf *.data