aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e59b09a..ed1a3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,12 @@ RELEASE := $(shell sed -n 's/%define release //p' < $(NAME).spec)
RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
SUBDIRS=scripts fb
-DATADIRS=themes
+DATADIRS=themes/data/
+CONFIGDIRS=themes/config/
prefix=/
sharedir=/usr/share
+configdir=/etc
all: check
@@ -15,9 +17,11 @@ check:
@for i in $(SUBDIRS);do make -C $$i check;done
install:
- @mkdir -p $(prefix)$(sharedir)/bootsplash/
+ @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/;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
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*