[anjal] Add & Install anjal.desktop.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Add & Install anjal.desktop.
- Date: Wed, 22 Apr 2009 07:20:09 -0400 (EDT)
commit f3b3c6ace0583d9ebc07866c51f56c088af4c396
Author: Philip Stewart <philip stewart gmx net>
Date: Wed Apr 22 11:41:52 2009 +0530
Add & Install anjal.desktop.
---
ChangeLog | 4 ++++
Makefile.am | 10 ++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 781f01b..a1fcb23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-22 Philip Stewart <philip stewart gmx net>
+
+ ** Add Desktop file and install it.
+
2009-04-01 Johnny Jacob <jjohnny novell com>
* README: Updated (test commit).
diff --git a/Makefile.am b/Makefile.am
index 629cb29..188dbad 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,6 @@
SUBDIRS = art src po
+desktopdir = $(datadir)/applications
+desktop_file = anjal.desktop
#anjaldocdir = ${prefix}/doc/anjal
#anjaldoc_DATA = \
@@ -11,6 +13,14 @@ SUBDIRS = art src po
#EXTRA_DIST = $(anjaldoc_DATA)
+install-data-local: $(desktop_file)
+ $(mkinstalldirs) $(DESTDIR)$(desktopdir); \
+ $(INSTALL_DATA) $(desktop_file) \
+ $(DESTDIR)$(desktopdir)/$(desktop_file) ;
+
+uninstall-local:
+ rm -rf $(DESTDIR)$(desktopdir)/$(desktop_file) ;
+
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]