diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +#!/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 + # Useful documentation (-t requires BusyBox >= 1.23.0): + install -D -m 0644 -t dest/usr/share/doc/cpuid/ src/FAMILY.NOTES + oh-fixperms + oh-strip + oh-installfiles + oh-shlibdeps |