]> git.ipfire.org Git - thirdparty/cups.git/blob - ppd/Makefile
Import CUPS 1.4svn-r7356.
[thirdparty/cups.git] / ppd / Makefile
1 #
2 # "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $"
3 #
4 # PPD file makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007 by Apple Inc.
7 # Copyright 1993-2006 by Easy Software Products.
8 #
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
14 #
15
16 include ../Makedefs
17
18 #
19 # PPD files...
20 #
21
22 FILES = deskjet.ppd dymo.ppd epson9.ppd epson24.ppd \
23 generic.ppd generpcl.ppd intelbar.ppd \
24 laserjet.ppd okidata9.ppd okidat24.ppd stcolor.ppd \
25 stcolor2.ppd stphoto.ppd stphoto2.ppd zebra.ppd \
26 zebracpl.ppd zebraep1.ppd zebraep2.ppd
27
28
29 #
30 # Make everything...
31 #
32
33 all:
34
35
36 #
37 # Clean all config and object files...
38 #
39
40 clean:
41
42
43 #
44 # Dummy depend...
45 #
46
47 depend:
48
49
50 #
51 # Install files...
52 #
53
54 install: all
55 $(INSTALL_DIR) -m 755 $(DATADIR)/model
56 for file in $(FILES); do \
57 $(INSTALL_DATA) $$file $(DATADIR)/model; \
58 done
59
60
61 #
62 # Uninstall files...
63 #
64
65 uninstall:
66 for file in $(FILES); do \
67 $(RM) $(DATADIR)/model/$$file; \
68 done
69 -$(RMDIR) $(DATADIR)/model
70 -$(RMDIR) $(DATADIR)
71
72
73 #
74 # Update PPD files...
75 #
76
77 ppds:
78 ppdc -d . -l `echo $(LANGUAGES) | tr ' ' ','` sample.drv
79
80
81 #
82 # End of "$Id: Makefile 6813 2007-08-20 17:35:06Z mike $".
83 #