diff options
author | kraxel <kraxel> | 2007-08-31 13:46:27 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2007-08-31 13:46:27 +0000 |
commit | 1a239af5a483bd47565eac17d7ca552f66dd0911 (patch) | |
tree | 4240bf01ba05887bb78ee9873d3135145d9f19a9 /GNUmakefile | |
parent | 6c20a337f9a3930e480a0ee4022fb9fb2ed0b342 (diff) | |
download | xenwatch-1a239af5a483bd47565eac17d7ca552f66dd0911.tar.gz |
desktop files, minor fixes.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6374c90..d86e316 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -78,6 +78,9 @@ CFLAGS += $(call ac_inc_cflags,XENSTORE LIBVIRT AVAHI GTK_VNC) CFLAGS += $(shell test "$(pkglst)" != "" && pkg-config --cflags $(pkglst)) LDLIBS += $(shell test "$(pkglst)" != "" && pkg-config --libs $(pkglst)) +# desktop files +DESKTOP := $(wildcard $(patsubst %,%.desktop,$(TARGETS))) + ######################################################################## # rules @@ -85,9 +88,10 @@ LDLIBS += $(shell test "$(pkglst)" != "" && pkg-config --libs $(pkglst)) build: $(TARGETS) xenscreenrc install: build - $(INSTALL_DIR) -d $(DESTDIR)/etc/xen $(bindir) + $(INSTALL_DIR) -d $(DESTDIR)/etc/xen $(bindir) $(appdir) $(INSTALL_DATA) xenscreenrc $(DESTDIR)/etc/xen $(INSTALL_BINARY) -s $(TARGETS) $(bindir) + $(INSTALL_DATA) $(DESKTOP) $(appdir) clean: -rm -f *.o *~ $(depfiles) |