]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
09ec0018 | 2 | # "$Id: Makefile 5008 2006-01-27 19:30:34Z mike $" |
ef416fc2 | 3 | # |
4 | # Configuration file makefile for the Common UNIX Printing System (CUPS). | |
5 | # | |
fa73b229 | 6 | # Copyright 1993-2006 by Easy Software Products. |
ef416fc2 | 7 | # |
8 | # These coded instructions, statements, and computer programs are the | |
9 | # property of Easy Software Products and are protected by Federal | |
10 | # copyright law. Distribution and use rights are outlined in the file | |
11 | # "LICENSE.txt" which should have been included with this file. If this | |
12 | # file is missing or damaged please contact Easy Software Products | |
13 | # at: | |
14 | # | |
15 | # Attn: CUPS Licensing Information | |
16 | # Easy Software Products | |
17 | # 44141 Airport View Drive, Suite 204 | |
18 | # Hollywood, Maryland 20636 USA | |
19 | # | |
20 | # Voice: (301) 373-9600 | |
21 | # EMail: cups-info@cups.org | |
22 | # WWW: http://www.cups.org | |
23 | # | |
24 | ||
25 | include ../Makedefs | |
26 | ||
27 | # | |
28 | # Config files... | |
29 | # | |
30 | ||
fa73b229 | 31 | KEEP = client.conf cupsd.conf |
ef416fc2 | 32 | REPLACE = mime.convs mime.types |
33 | ||
34 | ||
35 | # | |
36 | # Make everything... | |
37 | # | |
38 | ||
39 | all: | |
40 | ||
41 | ||
42 | # | |
43 | # Clean all config and object files... | |
44 | # | |
45 | ||
46 | clean: | |
47 | ||
48 | ||
49 | # | |
50 | # Install files... | |
51 | # | |
52 | ||
fa73b229 | 53 | install: all |
ef416fc2 | 54 | $(INSTALL_DIR) $(SERVERROOT) |
55 | for file in $(KEEP); do \ | |
56 | if test -r $(SERVERROOT)/$$file ; then \ | |
09ec0018 | 57 | $(INSTALL_CONFIG) $$file $(SERVERROOT)/$$file.N ; \ |
ef416fc2 | 58 | else \ |
09ec0018 | 59 | $(INSTALL_CONFIG) $$file $(SERVERROOT) ; \ |
ef416fc2 | 60 | fi ; \ |
61 | done | |
09ec0018 | 62 | $(INSTALL_CONFIG) cupsd.conf $(SERVERROOT)/cupsd.conf.default |
ef416fc2 | 63 | for file in $(REPLACE); do \ |
64 | if test -r $(SERVERROOT)/$$file ; then \ | |
65 | $(MV) $(SERVERROOT)/$$file $(SERVERROOT)/$$file.O ; \ | |
66 | fi ; \ | |
09ec0018 | 67 | $(INSTALL_CONFIG) $$file $(SERVERROOT) ; \ |
ef416fc2 | 68 | done |
69 | -if test x$(PAMDIR) != x$(BUILDROOT); then \ | |
70 | $(INSTALL_DIR) $(PAMDIR); \ | |
71 | if test -r $(PAMDIR)/cups/$(PAMFILE) ; then \ | |
72 | $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups.N ; \ | |
73 | else \ | |
74 | $(INSTALL_DATA) $(PAMFILE) $(PAMDIR)/cups ; \ | |
75 | fi ; \ | |
76 | fi | |
77 | ||
78 | ||
79 | # | |
09ec0018 | 80 | # End of "$Id: Makefile 5008 2006-01-27 19:30:34Z mike $". |
ef416fc2 | 81 | # |