[Super-tux-commit] supertux/mk/jam install.jam,1.2,1.3
Brought to you by:
wkendrick
From: Matze B. <mat...@us...> - 2005-04-04 13:01:14
|
Update of /cvsroot/super-tux/supertux/mk/jam In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32102/mk/jam Modified Files: install.jam Log Message: moved some files into docs dir, install .desktop file Index: install.jam =================================================================== RCS file: /cvsroot/super-tux/supertux/mk/jam/install.jam,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- install.jam 23 Nov 2004 19:36:28 -0000 1.2 +++ install.jam 4 Apr 2005 13:01:05 -0000 1.3 @@ -14,6 +14,8 @@ appdocdir ?= [ ConcatDirs $(datadir) doc $(PACKAGE_NAME)-$(PACKAGE_VERSION) ] ; appconfdir ?= [ ConcatDirs $(sysconfdir) $(PACKAGE_NAME) ] ; plugindir ?= [ ConcatDirs $(libdir) $(PACKAGE_NAME) ] ; +applicationsdir ?= [ ConcatDirs $(datadir) applications ] ; +pixmapsdir ?= [ ConcatDirs $(datadir) pixmaps ] ; ## InstallHeader headername [ : subdir ] ## DoInstall a headerfile into the includedir directory. A subdirectory @@ -85,6 +87,24 @@ } } +## InstallPixmap files [ : subdir ] +## Install a pixmap +rule InstallPixmap +{ + LOCATE on $(<:G=installpixmap) = $(SUBDIR) ; + Depends install_data + : [ DoInstall $(<:G=installpixmap) : $(pixmapsdir) $(2) ] ; +} + +## InstallDesktop files [ : subdir ] +## Install a .desktop file (menu entries for kde/gnome and others) +rule InstallDesktop +{ + LOCATE on $(<:G=installdesktop) = $(SUBDIR) ; + Depends install_bin + : [ DoInstall $(<:G=installdesktop) : $(applicationsdir) $(2) ] ; +} + ## DoInstall sourcename : directories [ : installapp ] [ : options ] ## Creates a new installtarget for the given sources. The target(s) are ## returned as function result. |