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
This commit is contained in:
parent
a2b9c11697
commit
f8c360414f
6
Makefile
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user