summaryrefslogtreecommitdiffstats
path: root/build
blob: 63fc9efa99b90b4e584116d44b09b06b0374ccc2 (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:
	# Needs pod2man to generate manual page from Perl script:
	touch src/cpuinfo2cpuid.man
	oh-autobuild
	touch $@

install: build
	oh-autoinstall -- BUILDROOT="$${PWD}/dest"
	# Perl script:
	rm dest/usr/bin/cpuinfo2cpuid
	rm dest/usr/share/man/man1/cpuinfo2cpuid.1.gz
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps