aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
blob: e27fd95be647f9d417abb2733f5918848ac700dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PL=detect-resolution
SH=make-boot-splash rewritejpeg

sharedir=/usr/share

check:
	@for i in $(SH);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done
	@for i in $(PL);do perl -c $$i ||exit 1;done

install:
	@mkdir -p $(prefix)$(sharedir)/bootsplash/scripts/
	@for i in $(SH) $(PL);do install -m755 $$i $(prefix)$(sharedir)/bootsplash/scripts/;done

clean:
	rm -f *~ \#*\#