summaryrefslogtreecommitdiffstats
path: root/build
blob: 884a4bc332c62ce874780214870e8b6afcb56711 (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

include ../source.mk

nop:
	@:

configure:
	oh-autoconfigure
	touch $@

build: configure
	oh-autobuild
	#(cd src && make check)
	touch $@

install: build
	oh-autoinstall
	# Remove symbolic and hard links in /usr/bin.
	rm -f dest/usr/bin/awk
	rm -f dest/usr/bin/gawk-*
	# Remove shell startup files added in 4.2.0.
	rm -f dest/etc/profile.d/gawk.*
	# Remove GNU Info index.
	rm -f dest/usr/share/info/dir
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps