summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ag
blob: 49e95301e4999dc6f2b51ed3c5258325f50ac4a2 (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
$NetBSD: patch-ag,v 1.15 2003/05/28 02:34:00 jlam Exp $

--- filter/Makefile.orig	Tue May 27 21:29:11 2003
+++ filter/Makefile
@@ -27,7 +27,7 @@
 include ../Makedefs
 
 TARGETS	=	gziptoany hpgltops texttops pstops imagetops imagetoraster \
-		rastertodymo rastertoepson rastertohp libcupsimage.a
+		rastertodymo rastertoepson rastertohp
 
 HPGLOBJS =	hpgl-attr.o hpgl-config.o hpgl-main.o hpgl-prolog.o \
 		hpgl-char.o hpgl-input.o hpgl-polygon.o hpgl-vector.o
@@ -45,7 +45,7 @@ OBJS	=	$(HPGLOBJS) $(IMAGEOBJS) $(FORMOB
 # Make all targets...
 #
 
-all:	$(TARGETS) libcupsimage.a
+all:	$(TARGETS) $(LIBCUPSIMAGE) libcupsimage.a
 
 
 #
@@ -87,8 +87,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