ia64/xen-unstable

changeset 3617:1207ae53e15f

bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA)

Fix "make dist" so that it works from inside the xen subdirectory.
author mafetter@fleming.research
date Wed Feb 02 15:09:37 2005 +0000 (2005-02-02)
parents 17e50d7ed675
children 351e129e3735
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Wed Feb 02 09:17:21 2005 +0000
     1.2 +++ b/xen/Makefile	Wed Feb 02 15:09:37 2005 +0000
     1.3 @@ -1,3 +1,7 @@
     1.4 +# Default is to install to local 'dist' directory.
     1.5 +DISTDIR ?= ../dist
     1.6 +DESTDIR ?= $(DISTDIR)/install
     1.7 +
     1.8  INSTALL			= install
     1.9  INSTALL_DATA		= $(INSTALL) -m0644
    1.10  INSTALL_DIR		= $(INSTALL) -d -m0755
    1.11 @@ -20,6 +24,9 @@ default: $(TARGET).gz
    1.12  debug:	
    1.13  	objdump -D -S $(TARGET)-syms > $(TARGET).s
    1.14  
    1.15 +dist:
    1.16 +	$(MAKE) install
    1.17 +
    1.18  install: $(TARGET).gz
    1.19  	[ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot
    1.20  	$(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot