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

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		oh-autotest; \
	fi
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/bin/gpgscm  # TinyScheme-based test driver
	mv dest/usr/share/doc/gnupg/ dest/usr/share/doc/gpg/
	oh-fixperms
	oh-strip
	oh-installfiles