aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraxel <kraxel>2007-09-03 11:29:09 +0000
committerkraxel <kraxel>2007-09-03 11:29:09 +0000
commitced4e78202fe5b0df808aebfca50abe226667c7a (patch)
tree1944010fd0b5bec09cab884ca9c7d97dc701b8ba
parenta4d4dbc3c3d87af78219497ebfaf55ff33a8b95c (diff)
downloadxenwatch-ced4e78202fe5b0df808aebfca50abe226667c7a.tar.gz
some buildfixes
-rw-r--r--GNUmakefile2
-rw-r--r--VERSION2
-rw-r--r--xs_tools.c4
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 <stdio.h>
#include <stdlib.h>
@@ -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 */