How do I make my application startable from the terminal?
- by Ralf Hersel
I've created several Python applications wherefore I know how to create a DEB and how to push an application into my PPA in Launchpad. What I never found out is how to make the application startable from the terminal by just entering its name like you use to do with any other Linux application. I guess that I have to create a link to the application's shell script in /usr/bin/ but I don't know how to do this in my rules file which looks like this:
#!/usr/bin/make -f
# -*- makefile -*-
%:
dh $@
override_dh_install:
dh_install nota/* /usr/share/nota/
dh_install applications/nota.desktop /usr/share/applications/