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

include ../source.mk

nop:

build:
	oh-autobuild -- prefix=/usr LIBINTL=NONE
	touch $@

install: build
	oh-autoinstall -- prefix=/usr
	# u-a them utils
	set -e; for util in autopoint msgfmt msgmerge xgettext; do \
		mv dest/usr/bin/$${util} dest/usr/bin/$${util}.tiny; \
	done
	# Current and planned standard C libraries provide libintl.
	rm -fv dest/usr/include/libintl.h
	rm -fv dest/usr/lib/libintl.a
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps