From fb342bb519347a345ee99e4715e93965747bdc15 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 1 Mar 2002 21:26:34 +0000 Subject: move config to /etc so that rc.sysinit see them update Mandrake themes images and config --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') 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* -- cgit v1.2.1