Installing a shell script

Sandy Meier smeier at rz.uni-potsdam.de
Tue Oct 12 20:25:57 BST 1999


On Wed, 06 Oct 1999 you wrote:
> Hi!
> 
> I want to include a shell script in my project (Made with KDevelop).
> I have created a subdirectory containing the file and added this
> dir to the main Makefile.am and configure.in. But I don't know what
> should I write into the new dir's Makefile.am to install this file under
> $(kde_datadir)/appname/plugins.
> 
> Bye
> 	Balázs

Hi!
---------
install-exec-local:
	$(mkinstalldirs) $(kde_datadir)/appname/plugins/
	$(INSTALL_SCRIPT) foobar.sh $(kde_datadir)/appname/plugins/foobar.sh

uninstall-local:
	-rm -f $(kde_datadir)/appname/plugins/foobar.sh
---------

should work, but normally KDevelop generate this for you, or?

Ciao!
Sandy



More information about the KDevelop mailing list