summaryrefslogtreecommitdiff
path: root/print/foo2zjs/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/foo2zjs/files/patch-Makefile')
-rw-r--r--print/foo2zjs/files/patch-Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/print/foo2zjs/files/patch-Makefile b/print/foo2zjs/files/patch-Makefile
index eb22fede0ff4..e009f719b6eb 100644
--- a/print/foo2zjs/files/patch-Makefile
+++ b/print/foo2zjs/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Mon May 1 22:35:49 2006
-+++ Makefile Sat May 6 21:35:57 2006
+--- Makefile Fri Sep 29 23:28:51 2006
++++ Makefile Sun Oct 8 17:29:53 2006
@@ -6,8 +6,7 @@
VERSION=0.0
@@ -19,18 +19,16 @@
# User ID's
LPuid=-olp
-@@ -155,8 +154,8 @@
+@@ -154,7 +153,7 @@
endif
# Compiler flags
-CFLAGS += -O2 -Wall
--
+CFLAGS?=
-+CC?=
+
#
# Rules to create test documents
- #
-@@ -277,7 +276,7 @@
+@@ -291,7 +290,7 @@
# Installation rules
#
install: all install-test install-prog install-icc2ps install-extra \
@@ -39,18 +37,18 @@
#
# If you use CUPS, then restart the spooler:
# make cups
-@@ -335,8 +334,10 @@
+@@ -349,8 +348,10 @@
#
# Install current database files
#
+ mkdir -p $(FOODB)
@if [ -d $(FOODB) ]; then \
for dir in driver printer opt; do \
-+ install -d $(FOODB)/$$dir/; \
++ install -d $(FOODB)/$$dir/; \
echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
install -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
done \
-@@ -421,12 +422,13 @@
+@@ -435,12 +436,13 @@
fi; \
done
@@ -63,6 +61,6 @@
# Install PPD files for CUPS
#
+ mkdir -p $(MODEL)
- if [ -d $(MODEL) ]; then \
- cd PPD; \
- for ppd in *.ppd; do \
+ if [ -d /usr/share/ppd/ ]; then \
+ find /usr/share/ppd/ -name '*foo2zjs*' | xargs rm -f; \
+ find /usr/share/ppd/ -name '*foo2hp*' | xargs rm -f; \