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

include ../source.mk

nop:
	@:

build:
	oh-autobuild -T all
	touch $@

install: build
	oh-autoinstall
	install -m 0755 ../install-lilo.sh dest/sbin/install-lilo
	rm dest/etc/*/p*.d/* dest/etc/lilo.conf_example
	rm dest/boot/coffee.bmp dest/boot/debian*.bmp
	# Remove unneeded Perl and Bash scripts.
	set -e; \
	for script in keytab-lilo liloconfig lilo-uuid-diskid mkrescue; do \
		rm "dest/usr/sbin/$${script}"; \
		rm "dest/usr/share/man/man8/$${script}.8"; \
	done
	oh-fixperms
	oh-strip
	oh-installfiles