[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gnome Menu Item for Debian Package



> binary-post-install/freeciv-cvs-client::
>      mkdir -p debian/freeciv-cvs-client/usr/share/applications
>      cp debian/freeciv-cvs-client.desktop \
>          debian/freeciv-cvs-client/usr/share/applications/
>
>      mkdir -p debian/freeciv-cvs-client/usr/share/pixmaps
>      cp debian/civclient.xpm
> debian/freeciv-cvs-client/usr/share/pixmaps/ uudecode
> debian/civclient.png.uu -o \
>          debian/freeciv-cvs-client/usr/share/pixmaps/civclient.png

why don't you use a .install file that dh_install will handle smoothly ?

I guess for the uudecode part it's not trivial, but for the .desktop you 
only have to put the line :

debian/freeciv-cvs-client.desktop  /usr/share/applications/
in the freeciv-cvs-client.install file
and let dh_install take care of this
-- 
Pierre Habouzit                                   http://www.madism.org/
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
gpg : 1024D/A1EE761C  6045 409E 5CB5 2CEA 3E70  F17E C41E 995C C98C 90BE 
spam: mad.junk@madism.org

Attachment: pgpJQ6ZZetEjx.pgp
Description: PGP signature


Reply to: