Magellan Linux

Annotation of /trunk/plymouth-theme-alx/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1881 - (hide annotations) (download)
Tue Jul 31 08:11:44 2012 UTC (12 years, 3 months ago) by niro
File size: 593 byte(s)
-added first plymouth alx theme
1 niro 1881 THEMENAME = alx
2     DESTDIR =
3     INSTALL = install
4    
5     PREFIX = /usr
6     DATADIR = $(PREFIX)/share/plymouth
7     THEMEDIR = $(DATADIR)/themes
8    
9     INSTALL_DATA = alx.plymouth alx.png alx.script box.png \
10     bullet.png entry.png lock.png progress_bar.png \
11     progress_box.png
12    
13     all: install
14    
15     install:
16     $(INSTALL) -d $(DESTDIR)/$(DATADIR)
17     $(INSTALL) -d $(DESTDIR)/$(THEMEDIR)
18     $(INSTALL) -d $(DESTDIR)/$(THEMEDIR)/${THEMENAME}
19    
20     for i in ${INSTALL_DATA}; \
21     do \
22     $(INSTALL) -m0644 $${i} $(DESTDIR)/$(THEMEDIR)/${THEMENAME}; \
23     done
24     if [ -f VERSION ];then install -m066 VERSION $(DESTDIR)/$(THEMEDIR)/${THEMENAME}/; fi