From f8c360414f43dd0d77c64064bb2b65eb3101580f Mon Sep 17 00:00:00 2001 From: LtWorf Date: Wed, 8 Apr 2009 06:09:36 +0000 Subject: [PATCH] Now make install also install the .desktop file git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@124 014f5005-505e-4b48-8d0a-63407b615a7c --- Makefile | 6 ++++-- debscript/relational.desktop => relational.desktop | 0 2 files changed, 4 insertions(+), 2 deletions(-) rename debscript/relational.desktop => relational.desktop (100%) diff --git a/Makefile b/Makefile index c946934..d71eefd 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ default: uninstall: rm -rf /opt/relational rm -f /usr/local/bin/relational + rm -f /usr/share/applications/relational.desktop install: mkdir /opt/relational @@ -13,7 +14,8 @@ install: echo "#!/bin/bash" > /usr/local/bin/relational echo "/opt/relational/relational_gui.py" >> /usr/local/bin/relational chmod 555 /usr/local/bin/relational - + cp relational.desktop /usr/share/applications/ + chmod a+r /usr/share/applications/relational.desktop source: clean rm -rf /tmp/relational/ @@ -97,7 +99,7 @@ debian: chmod a+x data/usr/bin/relational #desktop file mkdir -p data/usr/share/applications/ - cp debscript/relational.desktop data/usr/share/applications/ + cp relational.desktop data/usr/share/applications/ mkdir -p data/DEBIAN #package description debscript/gencontrol.sh > data/DEBIAN/control diff --git a/debscript/relational.desktop b/relational.desktop similarity index 100% rename from debscript/relational.desktop rename to relational.desktop