summaryrefslogtreecommitdiffstats
path: root/build
blob: e662a57bf41979d89f816d237cabd4dae07690a8 (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
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

configure:
	oh-autoconfigure
	touch $@

build: configure
	oh-autobuild -- MAKEINFO=:
	touch $@

install: build
	oh-autoinstall -- MAKEINFO=:
	mv dest/usr/bin/bc dest/usr/bin/bc.gnu
	mv dest/usr/bin/dc dest/usr/bin/dc.gnu
	# Remove GNU Info index.
	rm -f dest/usr/share/info/dir
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps