debuggers.hg

changeset 4953:a1d83e29ee2d

bitkeeper revision 1.1159.258.125 (42853e47BemOA2ZRQJ77_HtVOeCieA)

Makefile:
Install xen binary with version number appended and create several symlinks
for less specific version numbers.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Fri May 13 23:54:47 2005 +0000 (2005-05-13)
parents 45b70dc4ef41
children 0651c17c1f17 b3e15fadc1c1
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Fri May 13 23:51:15 2005 +0000
     1.2 +++ b/xen/Makefile	Fri May 13 23:54:47 2005 +0000
     1.3 @@ -31,8 +31,11 @@ build: $(TARGET).gz
     1.4  
     1.5  install: $(TARGET).gz
     1.6  	[ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot
     1.7 -	$(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot
     1.8 -	$(INSTALL_DATA) $(TARGET)-syms $(DESTDIR)/boot
     1.9 +	$(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION).gz
    1.10 +	ln -f -s $(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION).gz
    1.11 +	ln -f -s $(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).gz
    1.12 +	ln -f -s $(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION).gz $(DESTDIR)/boot/$(notdir $(TARGET)).gz
    1.13 +	$(INSTALL_DATA) $(TARGET)-syms $(DESTDIR)/boot/$(notdir $(TARGET))-$(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)-syms
    1.14  	[ -d $(DESTDIR)/usr/include/xen/io ] || \
    1.15  		$(INSTALL_DIR) $(DESTDIR)/usr/include/xen/io
    1.16  	$(INSTALL_DATA) include/public/*.h $(DESTDIR)/usr/include/xen