--- fluid/Makefile.orig 2010-03-29 22:41:01.828043805 -0500 +++ fluid/Makefile 2010-03-29 22:43:57.973828814 -0500 @@ -84,16 +84,16 @@ $(INSTALL_BIN) $(FLUID) $(DESTDIR)$(bindir)/fluid$(EXEEXT) install-linux: - -$(INSTALL_DIR) $(DESTDIR)/usr/share/applications - $(INSTALL_DATA) fluid.desktop $(DESTDIR)/usr/share/applications + -$(INSTALL_DIR) $(DESTDIR)$(datadir)/applications + $(INSTALL_DATA) fluid.desktop $(DESTDIR)$(datadir)/applications for size in 16 32 48 64 128; do \ - if test ! -d $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; then \ - $(INSTALL_DIR) $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps; \ + if test ! -d $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps; then \ + $(INSTALL_DIR) $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps; \ fi; \ - $(INSTALL_DATA) icons/fluid-$$size.png $(DESTDIR)/usr/share/icons/hicolor/$${size}x$${size}/apps/fluid.png; \ + $(INSTALL_DATA) icons/fluid-$$size.png $(DESTDIR)$(datadir)/icons/hicolor/$${size}x$${size}/apps/fluid.png; \ done - -$(INSTALL_DIR) $(DESTDIR)/usr/share/mimelnk/application - $(INSTALL_DATA) x-fluid.desktop $(DESTDIR)/usr/share/mimelnk/application + -$(INSTALL_DIR) $(DESTDIR)$(datadir)/mimelnk/application + $(INSTALL_DATA) x-fluid.desktop $(DESTDIR)$(datadir)/mimelnk/application install-osx: echo Installing Fluid in $(DESTDIR)/Applications... @@ -111,9 +111,9 @@ $(RM) $(DESTDIR)$(bindir)/fluid$(EXEEXT) uninstall-linux: - $(RM) $(DESTDIR)/usr/share/applications/fluid.desktop - $(RM) $(DESTDIR)/usr/share/icons/hicolor/*/fluid.png - $(RM) $(DESTDIR)/usr/share/mimelnk/application/x-fluid.desktop + $(RM) $(DESTDIR)$(datadir)/applications/fluid.desktop + $(RM) $(DESTDIR)$(datadir)/icons/hicolor/*/fluid.png + $(RM) $(DESTDIR)$(datadir)/mimelnk/application/x-fluid.desktop uninstall-osx: $(RM) -r $(DESTDIR)/Applications/fluid.app