Move binary
authorJoachim Breitner <mail@joachim-breitner.de>
Thu, 20 Mar 2008 13:15:45 +0000 (13:15 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Thu, 20 Mar 2008 13:15:45 +0000 (13:15 +0000)
debian/rules
debian/sm.menu

index ad22f2b..d343501 100644 (file)
@@ -4,6 +4,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 install/sm::
+       mkdir -p debian/sm/usr/games/
+       mv -v debian/sm/usr/bin/* debian/sm/usr/games/
+       rmdir debian/sm/usr/bin/
        dh_icons
        mkdir -p debian/sm/usr/share/pixmaps
        convert sm.png -resize 32x32 debian/sm/usr/share/pixmaps/sm.xpm
index e544609..7447ff1 100644 (file)
@@ -1,3 +1,3 @@
 ?package(sm):needs="X11" section="Games/Toys"\
-  title="sm" command="/usr/bin/sm"\
+  title="sm" command="/usr/games/sm"\
   icon="/usr/share/pixmaps/sm.xpm"