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

include ../source.mk

nop:
	@:

configure:
	oh-autoconfigure -- --with-readline
	touch $@

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

install: build
	oh-autoinstall -- MAKEINFO=:
	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