From ced4e78202fe5b0df808aebfca50abe226667c7a Mon Sep 17 00:00:00 2001 From: kraxel Date: Mon, 3 Sep 2007 11:29:09 +0000 Subject: some buildfixes --- GNUmakefile | 2 +- VERSION | 2 +- xs_tools.c | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index d86e316..6a6054f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -90,7 +90,7 @@ build: $(TARGETS) xenscreenrc install: build $(INSTALL_DIR) -d $(DESTDIR)/etc/xen $(bindir) $(appdir) $(INSTALL_DATA) xenscreenrc $(DESTDIR)/etc/xen - $(INSTALL_BINARY) -s $(TARGETS) $(bindir) + $(INSTALL_BINARY) $(TARGETS) $(bindir) $(INSTALL_DATA) $(DESKTOP) $(appdir) clean: diff --git a/VERSION b/VERSION index 2eb3c4f..4b9fcbe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.5 +0.5.1 diff --git a/xs_tools.c b/xs_tools.c index 5a72b45..d9c3b07 100644 --- a/xs_tools.c +++ b/xs_tools.c @@ -1,3 +1,5 @@ +#ifdef HAVE_XENSTORE + #include #include @@ -58,3 +60,5 @@ int xenstore_read(struct xs_handle *xenstore, char *path, char *dst, size_t size free(xs_value); return 0; } + +#endif /* HAVE_XENSTORE */ -- cgit