summaryrefslogtreecommitdiff
path: root/desktop/Makefile.am
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2011-11-18 23:58:19 +0100
committerJoel Klinghed <the_jk@yahoo.com>2011-11-18 23:58:19 +0100
commit76bf2f26705b06297ef8d54f7870092defc3adf9 (patch)
treedaa05dfd09db989870bb1950b2de41f8168fd80a /desktop/Makefile.am
parente41ea45dfa3e1494b051c75857f7cb5be08e92ab (diff)
Fix loading glade file when installed. Added desktop entry.
Diffstat (limited to 'desktop/Makefile.am')
-rw-r--r--desktop/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
new file mode 100644
index 0000000..0ac91e2
--- /dev/null
+++ b/desktop/Makefile.am
@@ -0,0 +1,15 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+Applicationdir = $(datadir)/applications
+Applicationicondir = $(datadir)/icons/hicolor/128x128/apps
+
+Application_predata = viewtorrents.desktop.in
+dist_Application_DATA = $(Application_predata:.desktop.in=.desktop)
+dist_Applicationicon_DATA = viewtorrents.png
+
+EXTRA_DIST = $(Application_predata)
+
+%.desktop: %.desktop.in
+ cp $< $@
+
+CONFIG_CLEAN_FILES = viewtorrents.desktop