summaryrefslogtreecommitdiffstats
path: root/build
blob: df67e3eac32b624113ba7657f8111353f874123d (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
26
27
28
29
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--with-initscriptdir=no \
		--without-drivedbdir \
		--without-update-smart-drivedb \
		--without-gnupg
	oh-autobuild
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/share/doc/smartmontools/AUTHORS
	rm dest/usr/share/doc/smartmontools/COPYING
	rm dest/usr/share/doc/smartmontools/ChangeLog*
	rm dest/usr/share/doc/smartmontools/INSTALL
	rm dest/usr/share/doc/smartmontools/NEWS
	rm dest/usr/share/doc/smartmontools/README
	rm dest/usr/share/doc/smartmontools/TODO
	oh-fixperms
	oh-strip
	oh-installfiles
	oh-shlibdeps