mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA)
Fix "make dist" so that it works from inside the xen subdirectory.
This commit is contained in:
1 parent
a3eea3d441
commit
4e751b5fa0
1 file changed
+7
@@ -1,3 +1,7 @@
|
||||
# Default is to install to local 'dist' directory.
|
||||
DISTDIR ?= ../dist
|
||||
DESTDIR ?= $(DISTDIR)/install
|
||||
|
||||
INSTALL = install
|
||||
INSTALL_DATA = $(INSTALL) -m0644
|
||||
INSTALL_DIR = $(INSTALL) -d -m0755
|
||||
@@ -20,6 +24,9 @@ $(TARGET).gz: $(TARGET)
|
||||
debug:
|
||||
objdump -D -S $(TARGET)-syms > $(TARGET).s
|
||||
|
||||
dist:
|
||||
$(MAKE) install
|
||||
|
||||
install: $(TARGET).gz
|
||||
[ -d $(DESTDIR)/boot ] || $(INSTALL_DIR) $(DESTDIR)/boot
|
||||
$(INSTALL_DATA) $(TARGET).gz $(DESTDIR)/boot
|
||||
|
||||