summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ab
blob: f3e4b0b485979aded1245595f0371197f222861f (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
$NetBSD: patch-ab,v 1.18 2008/01/22 23:58:13 markd Exp $

--- Makefile.orig	2007-12-07 09:09:39.000000000 +1300
+++ Makefile	2008-01-16 12:28:17.000000000 +1300
@@ -22,7 +22,7 @@
 DIRS	=	cups backend berkeley cgi-bin filter locale man monitor \
 		notifier $(PDFTOPS) scheduler systemv test \
 		$(PHPDIR) \
-		conf data doc $(FONTS) ppd templates
+		data doc $(FONTS) ppd templates
 
 
 #
@@ -92,7 +92,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;\
@@ -100,6 +102,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; \