aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-07-31 14:31:43 +0000
committerFlorent Villard <warly@mandriva.com>2003-07-31 14:31:43 +0000
commit0b060fcb268275e6b6f245b8232a903571cd36f5 (patch)
tree1a2e3192215a6a238347454c6396c05a8a6444fa /scripts/Makefile
parenta6c7e5d4b1745c9b724b24c67d865263da37bac3 (diff)
downloadbootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar
bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.gz
bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.bz2
bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.tar.xz
bootsplash-0b060fcb268275e6b6f245b8232a903571cd36f5.zip
new bootsplash v3V2_0_0_1mdk
include various scripts and binaries from bootsplash.org
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 4c697d2..9c86f0f 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,18 +1,22 @@
PL=detect-resolution
SH=make-boot-splash rewritejpeg switch-themes
+SBIN=splash.sh
SYS=bootsplash.sysconfig
sharedir=/usr/share
etcsysdir=/etc/sysconfig
+all: check
+
check:
- @for i in $(SH);do /bin/bash -n $$i || exit 1;echo $$i syntax OK;done
+ @for i in $(SH) $(SBIN);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/ $(prefix)$(etcsysdir)
+ @mkdir -p $(prefix)$(sharedir)/bootsplash/scripts/ $(prefix)$(etcsysdir) $(prefix)/sbin/
@for i in $(SH) $(PL);do install -m755 $$i $(prefix)$(sharedir)/bootsplash/scripts/;done
+ @for i in $(SBIN);do install -m755 $$i $(prefix)/sbin/;done
install -m644 bootsplash.sysconfig $(prefix)$(etcsysdir)/bootsplash
clean:
- rm -f *~ \#*\# \ No newline at end of file
+ rm -f *~ \#*\#