diff --exclude-from=/home/dang/.diffrc -u -ruN BloGTK-1.1.orig/Makefile BloGTK-1.1/Makefile --- BloGTK-1.1.orig/Makefile 2005-01-08 11:59:58.000000000 -0500 +++ BloGTK-1.1/Makefile 2006-09-25 13:08:14.000000000 -0400 @@ -10,11 +10,11 @@ # autodetect GNOME prefix, change this if you want it elsewhere PREFIX ?= `pkg-config libgnome-2.0 --variable=prefix || echo /usr` -LIBDIR = $(PREFIX)/lib/blogtk -BINDIR = $(PREFIX)/bin -DATADIR = $(PREFIX)/share/blogtk -APPLICATIONSDIR = $(PREFIX)/share/applications -ICONDIR = $(PREFIX)/share/pixmaps +LIBDIR = $(DESTDIR)$(PREFIX)/lib/blogtk +BINDIR = $(DESTDIR)$(PREFIX)/bin +DATADIR = $(DESTDIR)$(PREFIX)/share/blogtk +APPLICATIONSDIR = $(DESTDIR)$(PREFIX)/share/applications +ICONDIR = $(DESTDIR)$(PREFIX)/share/pixmaps PYFILES := $(shell $(FIND) . -name "*.py" -print) @@ -28,7 +28,5 @@ $(INSTALL) -m 644 data/blogtk-icon.png $(ICONDIR) $(INSTALL) -m 644 data/blogtk.desktop $(APPLICATIONSDIR) - if test -f /usr/bin/BloGTK; then rm /usr/bin/BloGTK; fi - - ln -s $(LIBDIR)/BloGTK.py $(BINDIR)/BloGTK - chmod +x $(BINDIR)/BloGTK + ln -sf $(LIBDIR)/BloGTK.py $(BINDIR)/BloGTK + chmod +x $(LIBDIR)/BloGTK.py