--- Makefile 2007-08-12 12:06:44.000000000 +0200 +++ Makefile.oden 2007-08-12 12:05:45.000000000 +0200 @@ -22,7 +22,7 @@ DOCDIR=$(PREFIX)/share/doc/foo2zjs/ # Pathnames for referenced packages... -FOODB=/usr/share/foomatic/db/source +FOODB=$(PREFIX)/share/foomatic/db/source # User ID's LPuid=-olp @@ -415,7 +415,7 @@ # install -c $(PROGS) $(SHELLS) $(BIN)/ if [ "$(BINPROGS)" != "" ]; then \ - install -c $(BINPROGS) /bin/; \ + install -c $(BINPROGS) $(BIN)/; \ fi # # Install gamma correction files. These are just templates, @@ -543,9 +543,9 @@ fi; \ done -MODEL=/usr/share/cups/model +MODEL=$(PREFIX)/share/cups/model LOCALMODEL=/usr/local/share/cups/model -PPD=/usr/share/ppd +PPD=$(PREFIX)/share/ppd install-ppd: # # Install PPD files for CUPS @@ -574,8 +574,8 @@ done; \ fi -USBDIR=/etc/hotplug/usb -UDEVDIR=/etc/udev/rules.d +USBDIR=$(PREFIX)/etc/hotplug/usb +UDEVDIR=$(PREFIX)/etc/udev/rules.d RULES=hplj10xx.rules install-hotplug: install-hotplug-test install-hotplug-prog