aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index e27fd95..c39fe83 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,15 +1,18 @@
PL=detect-resolution
SH=make-boot-splash rewritejpeg
+SYS=bootsplash.sysconfig
sharedir=/usr/share
+etcsysdir=/etc/sysconfig
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/
+ @mkdir -p $(prefix)$(sharedir)/bootsplash/scripts/ $(prefix)$(etcsysdir)
@for i in $(SH) $(PL);do install -m755 $$i $(prefix)$(sharedir)/bootsplash/scripts/;done
+ install -m644 bootsplash.sysconfig $(prefix)$(etcsysdir)/bootsplash
clean:
rm -f *~ \#*\# \ No newline at end of file