]>
git.ipfire.org Git - thirdparty/cups.git/blob - conf/Makefile
2 # "$Id: Makefile 5412 2006-04-17 14:30:53Z mike $"
4 # Configuration file makefile for the Common UNIX Printing System (CUPS).
6 # Copyright 1993-2006 by Easy Software Products.
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
15 # Attn: CUPS Licensing Information
16 # Easy Software Products
17 # 44141 Airport View Drive, Suite 204
18 # Hollywood, Maryland 20636 USA
20 # Voice: (301) 373-9600
21 # EMail: cups-info@cups.org
22 # WWW: http://www.cups.org
32 REPLACE
= mime.convs mime.types
43 # Clean all config and object files...
61 $(INSTALL_DIR
) -m
755 $(SERVERROOT
)
62 for file in
$(KEEP
); do \
63 if
test -r
$(SERVERROOT
)/$$file ; then \
64 $(INSTALL_CONFIG
) $$file $(SERVERROOT
)/$$file.N
; \
65 chgrp
$(CUPS_GROUP
) $(SERVERROOT
)/$$file.N || true
; \
67 $(INSTALL_CONFIG
) $$file $(SERVERROOT
) ; \
68 chgrp
$(CUPS_GROUP
) $(SERVERROOT
)/$$file || true
; \
71 $(INSTALL_CONFIG
) cupsd.conf
$(SERVERROOT
)/cupsd.conf.default
72 -chgrp
$(CUPS_GROUP
) $(SERVERROOT
)/cupsd.conf.default
73 for file in
$(REPLACE
); do \
74 if
test -r
$(SERVERROOT
)/$$file ; then \
75 $(MV
) $(SERVERROOT
)/$$file $(SERVERROOT
)/$$file.O
; \
77 $(INSTALL_DATA
) $$file $(SERVERROOT
) ; \
79 -if
test x
$(PAMDIR
) != x
; then \
80 $(INSTALL_DIR
) -m
755 $(BUILDROOT
)$(PAMDIR
); \
81 if
test -r
$(BUILDROOT
)$(PAMDIR
)/cups
/$(PAMFILE
) ; then \
82 $(INSTALL_DATA
) $(PAMFILE
) $(BUILDROOT
)$(PAMDIR
)/cups.N
; \
84 $(INSTALL_DATA
) $(PAMFILE
) $(BUILDROOT
)$(PAMDIR
)/cups
; \
94 for file in
$(KEEP
) $(REPLACE
) cupsd.conf.default
; do \
95 $(RM
) $(SERVERROOT
)/$$file; \
97 -$(RMDIR
) $(SERVERROOT
)
98 -if
test x
$(PAMDIR
) != x
; then \
99 $(RM
) $(BUILDROOT
)$(PAMDIR
)/cups
; \
100 $(RMDIR
) $(BUILDROOT
)$(PAMDIR
); \
105 # End of "$Id: Makefile 5412 2006-04-17 14:30:53Z mike $".