ia64/xen-unstable

changeset 2757:11a5fe965981

bitkeeper revision 1.1159.1.294 (4180c875SLNksrza17zCYoYyptjEyA)

Makefile:
Make install a lot less noisy and cleanup.
author cl349@freefall.cl.cam.ac.uk
date Thu Oct 28 10:22:45 2004 +0000 (2004-10-28)
parents 9b1dacc90715
children 66b1445a11a0 9b7d094d67ce
files tools/sv/Makefile
line diff
     1.1 --- a/tools/sv/Makefile	Wed Oct 27 21:25:17 2004 +0000
     1.2 +++ b/tools/sv/Makefile	Thu Oct 28 10:22:45 2004 +0000
     1.3 @@ -2,53 +2,29 @@ sv_insdir := $(prefix)/var/xen/sv
     1.4  
     1.5  all:
     1.6  
     1.7 -install:
     1.8 -	# make parent directory
     1.9 -	mkdir -p $(sv_insdir)
    1.10 -	
    1.11 -	# copy Main.rpy file - references xen.sv.Main class
    1.12 -	install -m0644 Main.rpy $(sv_insdir)
    1.13 -
    1.14 -	# make images folder
    1.15 -	mkdir -p $(sv_insdir)/images
    1.16 -	
    1.17 -	# copy images
    1.18 -	install -m0644 images/xen.png $(sv_insdir)/images
    1.19 -	install -m0644 images/orb_01.jpg $(sv_insdir)/images
    1.20 -	install -m0644 images/orb_02.jpg $(sv_insdir)/images
    1.21 -	
    1.22 -	install -m0644 images/left-end-highlight.jpg $(sv_insdir)/images
    1.23 -	install -m0644 images/left-end-no-highlight.jpg $(sv_insdir)/images
    1.24 -	install -m0644 images/right-end-highlight.jpg $(sv_insdir)/images
    1.25 -	install -m0644 images/right-end-no-highlight.jpg $(sv_insdir)/images
    1.26 +IMAGES	 = xen.png orb_01.jpg orb_02.jpg
    1.27 +IMAGES	+= left-end-highlight.jpg left-end-no-highlight.jpg
    1.28 +IMAGES	+= right-end-highlight.jpg right-end-no-highlight.jpg
    1.29 +IMAGES	+= middle-highlight.jpg middle-no-highlight.jpg
    1.30 +IMAGES	+= seperator.jpg
    1.31 +IMAGES	+= seperator-left-highlight.jpg seperator-right-highlight.jpg
    1.32 +IMAGES	+= shutdown.png reboot.png pause.png unpause.png destroy.png
    1.33 +IMAGES	+= small-destroy.png small-pause.png small-unpause.png
    1.34 +IMAGES	+= next.png previous.png finish.png
    1.35  
    1.36 -	install -m0644 images/middle-highlight.jpg $(sv_insdir)/images
    1.37 -	install -m0644 images/middle-no-highlight.jpg $(sv_insdir)/images
    1.38 -	
    1.39 -	install -m0644 images/seperator.jpg $(sv_insdir)/images
    1.40 -	install -m0644 images/seperator-left-highlight.jpg $(sv_insdir)/images
    1.41 -	install -m0644 images/seperator-right-highlight.jpg $(sv_insdir)/images
    1.42 -	
    1.43 -	install -m0644 images/shutdown.png $(sv_insdir)/images
    1.44 -	install -m0644 images/reboot.png $(sv_insdir)/images
    1.45 -	install -m0644 images/pause.png $(sv_insdir)/images
    1.46 -	install -m0644 images/unpause.png $(sv_insdir)/images
    1.47 -	install -m0644 images/destroy.png $(sv_insdir)/images
    1.48 -        
    1.49 -	install -m0644 images/small-destroy.png $(sv_insdir)/images        
    1.50 -	install -m0644 images/small-pause.png $(sv_insdir)/images   
    1.51 -	install -m0644 images/small-unpause.png $(sv_insdir)/images
    1.52 -                        
    1.53 -	install -m0644 images/next.png $(sv_insdir)/images
    1.54 -	install -m0644 images/previous.png $(sv_insdir)/images        
    1.55 -	install -m0644 images/finish.png $(sv_insdir)/images 
    1.56 -        
    1.57 -	# make include folder
    1.58 -	mkdir -p $(sv_insdir)/inc
    1.59 -	
    1.60 -	# copy stylesheet
    1.61 -	install -m0644 inc/style.css $(sv_insdir)/inc
    1.62 -	install -m0644 inc/script.js $(sv_insdir)/inc
    1.63 +install:
    1.64 +	# copy XenSV Main.rpy file
    1.65 +	@mkdir -p $(sv_insdir)
    1.66 +	@install -m0644 Main.rpy $(sv_insdir)
    1.67 +
    1.68 +	# copy XenSV images
    1.69 +	@mkdir -p $(sv_insdir)/images
    1.70 +	@(cd images && install -m0644 $(IMAGES) $(sv_insdir)/images)
    1.71 +
    1.72 +	# copy XenSV stylesheet
    1.73 +	@mkdir -p $(sv_insdir)/inc
    1.74 +	@install -m0644 inc/style.css $(sv_insdir)/inc
    1.75 +	@install -m0644 inc/script.js $(sv_insdir)/inc
    1.76  
    1.77  clean:
    1.78