summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ag
blob: 9764ba0153c6c238c4bd148e41d0466dd34d7276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ag,v 1.16 2004/01/10 03:32:09 jlam Exp $

--- filter/Makefile.orig	Mon Nov 17 17:04:53 2003
+++ filter/Makefile
@@ -46,7 +46,7 @@ OBJS	=	$(HPGLOBJS) $(IMAGEOBJS) $(FORMOB
 # Make all targets...
 #
 
-all:	$(TARGETS) libcupsimage.a
+all:	$(TARGETS) $(LIBCUPSIMAGE) libcupsimage.a
 
 
 #
@@ -88,8 +88,8 @@ install:	all installhdrs
 	fi
 	-if test $(LIBCUPSIMAGE) != "libcupsimage.a"; then \
 		$(INSTALL_LIB) libcupsimage.a $(LIBDIR); \
+		$(RANLIB) $(LIBDIR)/libcupsimage.a; \
 	fi
-	$(RANLIB) $(LIBDIR)/libcupsimage.a
 
 installhdrs:
 	$(INSTALL_DIR) $(INCLUDEDIR)/cups