diff --git a/carps-cups/Makefile b/carps-cups/Makefile index 6c9fc4e..3060f22 100644 --- a/carps-cups/Makefile +++ b/carps-cups/Makefile @@ -1,6 +1,6 @@ CFLAGS=-Wall -Wextra --std=c99 -O2 -CUPSDIR=$(shell cups-config --serverbin) -CUPSDATADIR=$(shell cups-config --datadir) +CUPSDIR=$(DESTDIR)$(shell cups-config --serverbin) +CUPSDATADIR=$(DESTDIR)$(shell cups-config --datadir) all: carps-decode rastertocarps ppd/*.ppd