diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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* |