File directory_fix.patch of Package wiithon
--- Makefile.orig 2010-01-01 23:31:46.292720192 -0300 +++ Makefile 2010-01-02 01:43:11.493384158 -0300 @@ -70,9 +70,10 @@ @echo "==================================================================" making_directories: - @mkdir -p $(DESTDIR)/usr/share/pixmaps - @mkdir -p $(DESTDIR)/usr/share/applications - @mkdir -p $(DESTDIR)/usr/share/doc/wiithon + @mkdir -p $(DESTDIR)$(PREFIX)/games + @mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps + @mkdir -p $(DESTDIR)$(PREFIX)/share/applications + @mkdir -p $(DESTDIR)$(PREFIX)/share/doc/packages/wiithon @mkdir -p $(DESTDIR)$(PREFIX)/share/wiithon @mkdir -p $(DESTDIR)$(PREFIX)/share/wiithon/recursos/glade @mkdir -p $(DESTDIR)$(PREFIX)/share/wiithon/recursos/imagenes @@ -118,10 +119,10 @@ cp recursos/caratulas_fix/*.png $(DESTDIR)$(PREFIX)/share/wiithon/recursos/imagenes/caratulas cp recursos/discos_fix/*.png $(DESTDIR)$(PREFIX)/share/wiithon/recursos/imagenes/discos - cp doc/LICENCIA $(DESTDIR)/usr/share/doc/wiithon - cp doc/VERSION $(DESTDIR)/usr/share/doc/wiithon - cp doc/REVISION $(DESTDIR)/usr/share/doc/wiithon - cp doc/TRANSLATORS $(DESTDIR)/usr/share/doc/wiithon + cp doc/LICENCIA $(DESTDIR)/usr/share/doc/packages/wiithon + cp doc/VERSION $(DESTDIR)/usr/share/doc/packages/wiithon + cp doc/REVISION $(DESTDIR)/usr/share/doc/packages/wiithon + cp doc/TRANSLATORS $(DESTDIR)/usr/share/doc/packages/wiithon cp wiithon_usuario.desktop $(DESTDIR)/usr/share/applications/ cp -R po/locale/ $(DESTDIR)/usr/share/ @@ -303,8 +304,8 @@ -$(RM) /usr/share/pixmaps/wiithon.xpm postrm: - -$(RM) /usr/share/doc/wiithon/* - -rmdir /usr/share/doc/wiithon + -$(RM) /usr/share/doc/packages/wiithon/* + -rmdir /usr/share/doc/packages/wiithon -$(RM) $(PREFIX)/games/wiithon -$(RM) $(PREFIX)/share/wiithon/wiithon_wrapper