aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 7c0bb12..2ad9a39 100644
--- a/Makefile
+++ b/Makefile
@@ -3,26 +3,26 @@ VERSION := $(shell sed -n 's/%define version //p' < $(NAME).spec)
RELEASE := $(shell sed -n 's/%define release //p' < $(NAME).spec)
RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
-SUBDIRS=scripts fb
+SUBDIRS=scripts fb fbmngplay fbtruetype splash
DATADIRS=themes/data/
CONFIGDIRS=themes/config/
+THEMES=Mandrake
prefix=/
sharedir=/usr/share
configdir=/etc
RPM=$(HOME)/rpm
-all: check
-
-check:
- @for i in $(SUBDIRS);do make -C $$i check;done
+all:
+ @for i in $(SUBDIRS);do make -C $$i all;done
install:
@mkdir -p $(prefix)$(sharedir)/bootsplash/themes/
@mkdir -p $(prefix)$(configdir)/bootsplash/themes/
@for i in $(SUBDIRS);do make -C $$i install;done
- @for i in $(DATADIRS);do cp -a $$i/* $(prefix)$(sharedir)/bootsplash/themes/;done
- @for i in $(CONFIGDIRS);do cp -a $$i/* $(prefix)$(configdir)/bootsplash/themes/;done
+ @for i in $(DATADIRS);do for t in $(THEMES); do cp -a $$i/$$t $(prefix)$(sharedir)/bootsplash/themes/;done; done
+ @for i in $(CONFIGDIRS);do for t in $(THEMES); do install -d $(prefix)/$(configdir)/bootsplash/themes/$$t/config; cp -a $(CONFIGDIRS)/$$t/cfg/* $(prefix)$(configdir)/bootsplash/themes/$$t/config/;done ;done
+ @for d in 800x600 1024x768; do for v in 1 2 3; do ln -s vt1-$$d.cfg $(prefix)$(configdir)/bootsplash/themes/Mandrake/config/vt$$v-$$d.cfg; done; done
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*