summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ab
blob: 02112680a664a6bff94a1271634c6cb050a92742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-ab,v 1.20 2010/05/20 08:06:44 sbd Exp $

Split the install target in installcups & installconf.
(installcup is everything but the config files.)

--- Makefile.orig	2009-03-12 17:34:21.000000000 -0400
+++ Makefile	2009-05-13 20:57:09.000000000 -0400
@@ -22,7 +22,7 @@
 DIRS	=	cups backend berkeley cgi-bin filter locale man monitor \
 		notifier scheduler systemv test \
 		$(PHPDIR) \
-		conf data doc $(FONTS) ppd templates
+		data doc $(FONTS) ppd templates
 
 
 #
@@ -107,7 +107,9 @@
 # Install object and target files...
 #
 
-install:	installhdrs
+install:	installcups installconf
+
+installcups:	installhdrs
 	for dir in $(DIRS); do\
 		echo Installing in $$dir... ;\
 		(cd $$dir; $(MAKE) $(MFLAGS) install) || exit 1;\
@@ -115,6 +117,10 @@
 	echo Installing cups-config script...
 	$(INSTALL_DIR) -m 755 $(BINDIR)
 	$(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config
+
+installconf:
+	echo Installing in conf...
+	(cd conf; $(MAKE) $(MFLAGS) install)
 	if test "x$(INITDIR)" != x; then \
 		echo Installing init scripts...; \
 		$(INSTALL_DIR) -m 755 $(BUILDROOT)$(INITDIR)/init.d; \