summaryrefslogtreecommitdiffstats
path: root/build
blob: 11acd2ad5fb56db5c731d86ce1d66f59b12e1db4 (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 -- --libexecdir='$${prefix}/libexec'
	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