1 |
scarabeus 08/12/01 15:41:10 |
2 |
|
3 |
Added: foo2zjs-20081129-udevfwld.patch |
4 |
foo2zjs-20081129-Makefile.patch |
5 |
Removed: foo2zjs-udevfwld-20071105.diff |
6 |
foo2zjs-Makefile-20071105.diff |
7 |
Log: |
8 |
New version of foo2zjs. With this my printer works so hope it will be working for others too :]. |
9 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: foo2zjs-20081129-udevfwld.patch |
18 |
=================================================================== |
19 |
diff -urN foo2zjs/foo2zjs-loadfw foo2zjs.new/foo2zjs-loadfw |
20 |
--- foo2zjs/foo2zjs-loadfw 1970-01-01 01:00:00.000000000 +0100 |
21 |
+++ foo2zjs.new/foo2zjs-loadfw 2008-11-29 19:25:48.000000000 +0100 |
22 |
@@ -0,0 +1,127 @@ |
23 |
+#!/bin/sh |
24 |
+ |
25 |
+# foo2zjs-loadfw: |
26 |
+# |
27 |
+# Hotplug script for HP1000/1005/1020 USB laser printers. The model number |
28 |
+# that this script deals with is determined from the udev env. |
29 |
+# |
30 |
+# Used to download firmware automatically into the printer when it |
31 |
+# is powered up or plugged into the USB port. |
32 |
+# |
33 |
+# The inspiration fo this script is from: |
34 |
+# Oscar Santacreu. Alicante-Spain (2002) |
35 |
+# Mike Morgan (2004) |
36 |
+# Modified by Stefan Schweizer (2005) to work as a udev-RUN-script |
37 |
+ |
38 |
+# |
39 |
+# Directory to find downloadable HP firmware files sihpMMMM.dl |
40 |
+# |
41 |
+FWDIR=/lib/firmware |
42 |
+ |
43 |
+# |
44 |
+# Program used to determine USB id information |
45 |
+# |
46 |
+USBID=/bin/usb_printerid |
47 |
+ |
48 |
+# |
49 |
+# Timeout to load firmware |
50 |
+# |
51 |
+TIMEOUT=6 |
52 |
+ |
53 |
+# |
54 |
+# Figure out how to log our messages |
55 |
+# |
56 |
+if [ -t 1 ]; then |
57 |
+ # Running from a tty... |
58 |
+ log() { |
59 |
+ echo "$0: $@" |
60 |
+ } |
61 |
+elif [ -x /usr/bin/logger ]; then |
62 |
+ # Have logger... |
63 |
+ log() { |
64 |
+ logger -t "$0" -- "$@" |
65 |
+ } |
66 |
+else |
67 |
+ # No logger... |
68 |
+ log() { |
69 |
+ echo "$0: $@" >> /var/log/messages |
70 |
+ } |
71 |
+fi |
72 |
+ |
73 |
+# |
74 |
+# Figure out the model number from the name of this script |
75 |
+# |
76 |
+case "$1" in |
77 |
+1000) |
78 |
+ MODEL=1000 |
79 |
+ MODELNAME="hp LaserJet $MODEL" |
80 |
+ ;; |
81 |
+1005) |
82 |
+ MODEL=1005 |
83 |
+ MODELNAME="hp LaserJet $MODEL" |
84 |
+ ;; |
85 |
+1018) |
86 |
+ MODEL=1018 |
87 |
+ MODELNAME="HP LaserJet $MODEL" |
88 |
+ ;; |
89 |
+1020) |
90 |
+ MODEL=1020 |
91 |
+ MODELNAME="HP LaserJet $MODEL" |
92 |
+ ;; |
93 |
+*) |
94 |
+ log "Only HP LaserJet 1000, 1005, 1018 and 1020 are supported" |
95 |
+ log "You need to supply one of these on the cmdline: $0 10**" |
96 |
+ exit |
97 |
+ ;; |
98 |
+esac |
99 |
+ |
100 |
+if [ -n "$2" ]; then |
101 |
+ DEVNAME=$2 |
102 |
+elif [ -n "$DEVNAME" ]; then |
103 |
+ log 'using $DEVNAME' |
104 |
+else |
105 |
+ log "You need to either have $DEVNAME set in the environment or supply it on the cmdline, like:" |
106 |
+ log "$0 10** /dev/usb/lp0" |
107 |
+ exit 1 |
108 |
+fi |
109 |
+ |
110 |
+# |
111 |
+# Procedure to load a single device with firmware |
112 |
+# |
113 |
+load1() { |
114 |
+ fw="$FWDIR/sihp$MODEL.dl" |
115 |
+ if [ ! -f "$fw" ]; then |
116 |
+ log "Missing HP LaserJet $MODEL firmware file $fw" |
117 |
+ log "...read foo2zjs installation instructions and run ./getweb $MODEL" |
118 |
+ return 1 |
119 |
+ fi |
120 |
+ |
121 |
+ log "loading HP LaserJet $MODEL firmware $fw to $DEVNAME ..." |
122 |
+ if cat $fw > $DEVNAME; then |
123 |
+ sleep $TIMEOUT |
124 |
+ log "... download successful." |
125 |
+ else |
126 |
+ log "... download failed." |
127 |
+ fi |
128 |
+ return 0 |
129 |
+} |
130 |
+ |
131 |
+# |
132 |
+# OK, now download firmware to any printers that need it |
133 |
+# |
134 |
+if [ -x $USBID ]; then |
135 |
+ if $USBID $DEVNAME | grep "$MODELNAME" 2> /dev/null; then |
136 |
+ # This is a LaserJet 100x |
137 |
+ if $USBID $DEVNAME | grep 'FWVER' 2> /dev/null; then |
138 |
+ log "HP LaserJet $MODEL firmware already loaded into $DEVNAME" |
139 |
+ else |
140 |
+ # Firmware is not yet loaded |
141 |
+ load1 "$DEVNAME" |
142 |
+ fi |
143 |
+ else |
144 |
+ log "No supported printer found." |
145 |
+ fi |
146 |
+else |
147 |
+ log "HP LaserJet $MODEL firmware was not downloaded..." |
148 |
+ log "...couldn't find $USBID" |
149 |
+fi |
150 |
diff -urN foo2zjs/hplj10xx.rules foo2zjs.new/hplj10xx.rules |
151 |
--- foo2zjs/hplj10xx.rules 2008-06-05 11:50:38.000000000 +0200 |
152 |
+++ foo2zjs.new/hplj10xx.rules 2008-11-29 19:24:04.000000000 +0100 |
153 |
@@ -1,36 +1,9 @@ |
154 |
-#Own udev rule for HP Laserjet 1000 |
155 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
156 |
- SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", \ |
157 |
- SYMLINK+="hplj1000-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000" |
158 |
-#Own udev rule for HP Laserjet 1005 |
159 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
160 |
- SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \ |
161 |
- SYMLINK+="hplj1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005" |
162 |
-#Own udev rule for HP Laserjet 1018 |
163 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
164 |
- SYSFS{product}=="HP LaserJet 1018", NAME="usb/%k", \ |
165 |
- SYMLINK+="hplj1018-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018" |
166 |
-#Own udev rule for HP Laserjet 1020 |
167 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
168 |
- SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", \ |
169 |
- SYMLINK+="hplj1020-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020" |
170 |
-#Own udev rule for HP Laserjet P1005 |
171 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
172 |
- SYSFS{product}=="HP LaserJet P1005", NAME="usb/%k", \ |
173 |
- SYMLINK+="hpljP1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1005" |
174 |
-#Own udev rule for HP Laserjet P1006 |
175 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
176 |
- SYSFS{product}=="HP LaserJet P1006", NAME="usb/%k", \ |
177 |
- SYMLINK+="hpljP1006-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1006" |
178 |
-#Own udev rule for HP Laserjet P1007 |
179 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
180 |
- SYSFS{product}=="HP LaserJet P1007", NAME="usb/%k", \ |
181 |
- SYMLINK+="hpljP1007-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1007" |
182 |
-#Own udev rule for HP Laserjet P1008 |
183 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
184 |
- SYSFS{product}=="HP LaserJet P1008", NAME="usb/%k", \ |
185 |
- SYMLINK+="hpljP1008-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1008" |
186 |
-#Own udev rule for HP Laserjet P1505 |
187 |
-KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \ |
188 |
- SYSFS{product}=="HP LaserJet P1505", NAME="usb/%k", \ |
189 |
- SYMLINK+="hpljP1505-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1505" |
190 |
+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \ |
191 |
+ ATTRS{idProduct}=="0517", RUN+="/sbin/foo2zjs-loadfw 1000 $tempnode" |
192 |
+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \ |
193 |
+ ATTRS{idProduct}=="1317", RUN+="/sbin/foo2zjs-loadfw 1005 $tempnode" |
194 |
+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \ |
195 |
+ ATTRS{idProduct}=="4117", RUN+="/sbin/foo2zjs-loadfw 1018 $tempnode" |
196 |
+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \ |
197 |
+ ATTRS{idProduct}=="2b17", RUN+="/sbin/foo2zjs-loadfw 1020 $tempnode" |
198 |
+ |
199 |
diff -urN foo2zjs/hplj1000 foo2zjs.new/hplj1000 |
200 |
--- foo2zjs/hplj1000 2008-06-05 12:02:14.000000000 +0200 |
201 |
+++ foo2zjs.new/hplj1000 2008-11-29 19:22:31.000000000 +0100 |
202 |
@@ -35,7 +35,7 @@ |
203 |
# |
204 |
# Directory to find downloadable HP firmware files sihpMMMM.dl |
205 |
# |
206 |
-FWDIR=/usr/share/foo2zjs/firmware |
207 |
+FWDIR=/lib/firmware |
208 |
|
209 |
# |
210 |
# Program used to determine USB printer id information |
211 |
diff -urN foo2zjs/Makefile foo2zjs.new/Makefile |
212 |
--- foo2zjs/Makefile 2008-11-29 19:41:32.000000000 +0100 |
213 |
+++ foo2zjs.new/Makefile 2008-11-29 19:21:11.000000000 +0100 |
214 |
@@ -20,6 +20,10 @@ |
215 |
PREFIX=/usr |
216 |
PREFIX=$(DESTDIR)/usr |
217 |
|
218 |
+# USB_PRINTERID is also installed there because it is needed by the FWloader |
219 |
+FWLOADERDIR=$(DESTDIR)/sbin |
220 |
+FIRMWAREDIR=$(DESTDIR)/lib/firmware |
221 |
+ |
222 |
# Pathnames for this package... |
223 |
BIN=$(PREFIX)/bin |
224 |
SHAREZJS=$(PREFIX)/share/foo2zjs |
225 |
@@ -660,21 +664,21 @@ |
226 |
fi; \ |
227 |
done |
228 |
# foo2zjs Firmware files (if any) |
229 |
- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/ |
230 |
+ $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(FIRMWAREDIR)/ |
231 |
for i in sihp1*.img; do \ |
232 |
if [ -f $$i ]; then \ |
233 |
base=`basename $$i .img`; \ |
234 |
./arm2hpdl $$i >$$base.dl; \ |
235 |
- $(INSTALL) -c -m 644 $$base.dl $(SHAREZJS)/firmware/; \ |
236 |
+ $(INSTALL) -c -m 644 $$base.dl $(FIRMWAREDIR)/; \ |
237 |
fi; \ |
238 |
done |
239 |
# foo2xqx Firmware files (if any) |
240 |
- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREXQX)/firmware/ |
241 |
+ $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(FIRMWAREDIR)/ |
242 |
for i in sihpP*.img; do \ |
243 |
if [ -f $$i ]; then \ |
244 |
base=`basename $$i .img`; \ |
245 |
./arm2hpdl $$i >$$base.dl; \ |
246 |
- $(INSTALL) -c -m 644 $$base.dl $(SHAREXQX)/firmware/; \ |
247 |
+ $(INSTALL) -c -m 644 $$base.dl $(FIRMWAREDIR)/; \ |
248 |
fi; \ |
249 |
done |
250 |
# foo2oak ICM files (if any) |
251 |
@@ -817,6 +821,8 @@ |
252 |
UDEVDIR=$(DESTDIR)/etc/udev/rules.d |
253 |
RULES=hplj10xx.rules |
254 |
install-udev: |
255 |
+ [ -d $(FWLOADERDIR) ] || install -d -m 755 $(FWLOADERDIR)/ |
256 |
+ install -c -m 755 foo2zjs-loadfw $(FWLOADERDIR)/ |
257 |
[ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/ |
258 |
install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES) |
259 |
|
260 |
|
261 |
|
262 |
|
263 |
1.1 net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch |
264 |
|
265 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch?rev=1.1&view=markup |
266 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch?rev=1.1&content-type=text/plain |
267 |
|
268 |
Index: foo2zjs-20081129-Makefile.patch |
269 |
=================================================================== |
270 |
diff -urN foo2zjs/icc2ps/Makefile foo2zjs.new/icc2ps/Makefile |
271 |
--- foo2zjs/icc2ps/Makefile 2007-11-27 22:13:53.000000000 +0100 |
272 |
+++ foo2zjs.new/icc2ps/Makefile 2008-11-29 19:13:43.000000000 +0100 |
273 |
@@ -1,11 +1,11 @@ |
274 |
UNAME := $(shell uname) |
275 |
-PREFIX= /usr |
276 |
+PREFIX= $(DESTDIR)/usr |
277 |
BIN= $(PREFIX)/bin |
278 |
SRC= icc2ps.c xgetopt.c |
279 |
LIB= cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \ |
280 |
cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \ |
281 |
cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c |
282 |
-CFLAGS= -O3 |
283 |
+CFLAGS?= -O3 |
284 |
INSTALL=install |
285 |
ifeq ($(UNAME),SunOS) |
286 |
INSTALL=/usr/ucb/install |
287 |
diff -urN foo2zjs/Makefile foo2zjs.new/Makefile |
288 |
--- foo2zjs/Makefile 2008-09-23 15:56:20.000000000 +0200 |
289 |
+++ foo2zjs.new/Makefile 2008-11-29 19:12:42.000000000 +0100 |
290 |
@@ -251,7 +251,7 @@ |
291 |
endif |
292 |
|
293 |
# Compiler flags |
294 |
-CFLAGS += -O2 -Wall |
295 |
+CFLAGS ?= -O2 -Wall |
296 |
#CFLAGS += -g |
297 |
|
298 |
# |
299 |
@@ -543,14 +543,15 @@ |
300 |
UDEVBIN=$(DESTDIR)/bin/ |
301 |
|
302 |
install-prog: |
303 |
+ [ -d $(BIN) ] || install -d -m 755 $(BIN)/ |
304 |
+ [ -d $(DESTDIR)/bin/ ] || install -d -m 755 $(DESTDIR)/bin/ |
305 |
# |
306 |
# Install driver, wrapper, and development tools |
307 |
# |
308 |
$(INSTALL) -d $(BIN) |
309 |
$(INSTALL) -c $(PROGS) $(SHELLS) $(BIN)/ |
310 |
if [ "$(BINPROGS)" != "" ]; then \ |
311 |
- $(INSTALL) -d $(UDEVBIN); \ |
312 |
- $(INSTALL) -c $(BINPROGS) $(UDEVBIN); \ |
313 |
+ install -c $(BINPROGS) $(DESTDIR)/bin/; \ |
314 |
fi |
315 |
# |
316 |
# Install gamma correction files. These are just templates, |
317 |
@@ -583,6 +584,7 @@ |
318 |
# Install current database files |
319 |
# |
320 |
@if [ -d $(FOODB) ]; then \ |
321 |
+ [ -d $(FOODB)/$$dir/ ] || install -d -m 755 $(FOODB)/$$dir/; \ |
322 |
for dir in driver printer opt; do \ |
323 |
echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \ |
324 |
$(INSTALL) -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \ |
325 |
@@ -601,10 +603,10 @@ |
326 |
# |
327 |
# Clear foomatic cache and rebuild database if needed |
328 |
# |
329 |
- rm -rf /var/cache/foomatic/*/* |
330 |
- rm -f /var/cache/foomatic/printconf.pickle |
331 |
- if [ -d /var/cache/foomatic/compiled ]; then \ |
332 |
- cd /var/cache/foomatic/compiled; \ |
333 |
+ rm -rf $(DESTDIR)/var/cache/foomatic/*/* |
334 |
+ rm -f $(DESTDIR)/var/cache/foomatic/printconf.pickle |
335 |
+ if [ -d $(DESTDIR)/var/cache/foomatic/compiled ]; then \ |
336 |
+ cd $(DESTDIR)/var/cache/foomatic/compiled; \ |
337 |
foomatic-combo-xml -O >overview.xml; \ |
338 |
fi |
339 |
|
340 |
@@ -736,13 +738,6 @@ |
341 |
done; \ |
342 |
ppdmgr -u; \ |
343 |
elif [ -d $(PPD) ]; then \ |
344 |
- find $(PPD) -name '*foo2zjs*' | xargs rm -rf; \ |
345 |
- find $(PPD) -name '*foo2hp*' | xargs rm -rf; \ |
346 |
- find $(PPD) -name '*foo2xqx*' | xargs rm -rf; \ |
347 |
- find $(PPD) -name '*foo2lava*' | xargs rm -rf; \ |
348 |
- find $(PPD) -name '*foo2qpdl*' | xargs rm -rf; \ |
349 |
- find $(PPD) -name '*foo2slx*' | xargs rm -rf; \ |
350 |
- find $(PPD) -name '*foo2hiperc*' | xargs rm -rf; \ |
351 |
[ -d $(PPD)/foo2zjs ] || mkdir $(PPD)/foo2zjs; \ |
352 |
cd PPD; \ |
353 |
for ppd in *.ppd; do \ |
354 |
@@ -789,10 +784,8 @@ |
355 |
$(INSTALL) -c -m 755 hplj10xx_gui.tcl $(SHAREZJS) |
356 |
|
357 |
|
358 |
-USBDIR=/etc/hotplug/usb |
359 |
-UDEVDIR=/etc/udev/rules.d |
360 |
-RULES=hplj10xx.rules |
361 |
-install-hotplug: install-hotplug-test install-hotplug-prog |
362 |
+USBDIR=$(DESTDIR)/etc/hotplug/usb |
363 |
+install-hotplug: install-hotplug-test install-udev |
364 |
|
365 |
install-hotplug-test: |
366 |
# |
367 |
@@ -810,9 +803,6 @@ |
368 |
# |
369 |
|
370 |
install-hotplug-prog: |
371 |
- if [ -d $(UDEVDIR) ]; then \ |
372 |
- $(INSTALL) -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \ |
373 |
- fi |
374 |
[ -d $(USBDIR) ] || $(INSTALL) -d -m 755 $(USBDIR)/ |
375 |
$(INSTALL) -c -m 755 hplj1000 $(USBDIR)/ |
376 |
ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005 |
377 |
@@ -823,15 +813,12 @@ |
378 |
ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1007 |
379 |
ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1008 |
380 |
ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1505 |
381 |
- $(USBDIR)/hplj1000 install-usermap |
382 |
- $(USBDIR)/hplj1005 install-usermap |
383 |
- $(USBDIR)/hplj1018 install-usermap |
384 |
- $(USBDIR)/hplj1020 install-usermap |
385 |
- $(USBDIR)/hpljP1005 install-usermap |
386 |
- $(USBDIR)/hpljP1006 install-usermap |
387 |
- $(USBDIR)/hpljP1007 install-usermap |
388 |
- $(USBDIR)/hpljP1008 install-usermap |
389 |
- $(USBDIR)/hpljP1505 install-usermap |
390 |
+ install -c -m 644 hplj.usermap $(USBDIR)/ |
391 |
+UDEVDIR=$(DESTDIR)/etc/udev/rules.d |
392 |
+RULES=hplj10xx.rules |
393 |
+install-udev: |
394 |
+ [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/ |
395 |
+ install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES) |
396 |
|
397 |
cups: FRC |
398 |
if [ -x /etc/init.d/cups ]; then \ |
399 |
@@ -1223,7 +1210,6 @@ |
400 |
$(INSTALL) -c -m 644 README $(DOCDIR) |
401 |
$(INSTALL) -c -m 644 ChangeLog $(DOCDIR) |
402 |
|
403 |
-GROFF=/usr/local/test/bin/groff |
404 |
GROFF=groff |
405 |
manual.pdf: $(MANPAGES) |
406 |
-$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@ |