--- /home/jbeulich/src/xen/2006-01-20/tools/Rules.mk 2006-01-18 19:31:33.000000000 +0100 +++ 2006-01-20/tools/Rules.mk 2006-01-24 11:21:25.000000000 +0100 @@ -41,4 +41,4 @@ mk-symlinks: ( cd xen/io && ln -sf ../../$(XEN_ROOT)/xen/include/public/io/*.h . ) mkdir -p xen/linux ( cd xen/linux && \ - ln -sf ../../$(LINUX_ROOT)/include/asm-xen/linux-public/*.h . ) + ln -sf $(if $(patsubst /%,,$(LINUX_ROOT)),../../)$(LINUX_ROOT)/include/asm-xen/linux-public/*.h .) --- /home/jbeulich/src/xen/2006-01-20/tools/guest-headers/Makefile 2006-01-18 19:31:33.000000000 +0100 +++ 2006-01-20/tools/guest-headers/Makefile 2006-01-24 11:29:38.000000000 +0100 @@ -1,6 +1,6 @@ XEN_ROOT=../.. -linuxsparsetree = $(XEN_ROOT)/linux-2.6-xen-sparse +LINUX_ROOT = $(XEN_ROOT)/linux-2.6-xen-sparse all: @@ -8,6 +8,6 @@ check: install: mkdir -p $(DESTDIR)/usr/include/xen/linux - install -m0644 $(linuxsparsetree)/include/asm-xen/linux-public/*.h $(DESTDIR)/usr/include/xen/linux + install -m0644 $(LINUX_ROOT)/include/asm-xen/linux-public/*.h $(DESTDIR)/usr/include/xen/linux clean: