python/gst-python: update to 1.24.11
[oi-userland.git] / components / print / cups-pdf / files / Makefile
blobe2dfae2705d009802c31a690383dd2d39bb1716d
1 all: cups-pdf CUPS-PDF.ppd
3 cups-pdf: src/cups-pdf.c src/cups-pdf.h
4 $(CC) $(CFLAGS) src/cups-pdf.c -lcups -o $@
6 CUPS-PDF.ppd: extra/CUPS-PDF_opt.ppd
7 cp extra/CUPS-PDF_opt.ppd $@
9 clean:
10 rm -f cups-pdf
12 install: all
13 mkdir -p $(DESTDIR)/usr/lib/cups/backend
14 mkdir -p $(DESTDIR)/usr/share/cups/model
15 mkdir -p $(DESTDIR)/etc/cups
16 rm -f $(DESTDIR)/usr/lib/cups/backend/cups-pdf
17 rm -f $(DESTDIR)/usr/share/cups/model/CUPS-PDF.ppd
18 install -m 500 cups-pdf $(DESTDIR)/usr/lib/cups/backend
19 install -m 444 CUPS-PDF.ppd $(DESTDIR)/usr/share/cups/model
20 mkdir -p $(DESTDIR)/var/spool/cups-pdf
21 mkdir -p $(DESTDIR)/var/spool/cups-pdf/SPOOL
22 cp extra/cups-pdf.conf $(DESTDIR)/etc/cups/