|
Lines 6-13
Link Here
|
| 6 |
VERSION=0.0 |
6 |
VERSION=0.0 |
| 7 |
|
7 |
|
| 8 |
# Installation prefix... |
8 |
# Installation prefix... |
| 9 |
PREFIX=/usr/local |
|
|
| 10 |
PREFIX=/usr |
| 11 |
|
9 |
|
| 12 |
# Pathnames for this package... |
10 |
# Pathnames for this package... |
| 13 |
BIN=$(PREFIX)/bin |
11 |
BIN=$(PREFIX)/bin |
|
Lines 17-23
Link Here
|
| 17 |
DOCDIR=$(PREFIX)/share/doc/foo2zjs/ |
15 |
DOCDIR=$(PREFIX)/share/doc/foo2zjs/ |
| 18 |
|
16 |
|
| 19 |
# Pathnames for referenced packages... |
17 |
# Pathnames for referenced packages... |
| 20 |
FOODB=/usr/share/foomatic/db/source |
18 |
FOODB=$(PREFIX)/share/foomatic/db/source |
| 21 |
|
19 |
|
| 22 |
# User ID's |
20 |
# User ID's |
| 23 |
LPuid=-olp |
21 |
LPuid=-olp |
|
Lines 116-122
Link Here
|
| 116 |
endif |
114 |
endif |
| 117 |
|
115 |
|
| 118 |
# Compiler flags |
116 |
# Compiler flags |
| 119 |
CFLAGS += -O2 -Wall |
117 |
#CFLAGS += -O2 -Wall |
| 120 |
|
118 |
|
| 121 |
# |
119 |
# |
| 122 |
# Rules to create test documents |
120 |
# Rules to create test documents |
|
Lines 259-269
Link Here
|
| 259 |
# |
257 |
# |
| 260 |
# Clear foomatic cache and rebuild database if needed |
258 |
# Clear foomatic cache and rebuild database if needed |
| 261 |
# |
259 |
# |
| 262 |
rm -rf /var/cache/foomatic/*/* |
260 |
# rm -rf /var/cache/foomatic/*/* |
| 263 |
if [ -d /var/cache/foomatic/compiled ]; then \ |
261 |
# if [ -d /var/cache/foomatic/compiled ]; then \ |
| 264 |
cd /var/cache/foomatic/compiled; \ |
262 |
# cd /var/cache/foomatic/compiled; \ |
| 265 |
foomatic-combo-xml -O >overview.xml; \ |
263 |
# foomatic-combo-xml -O >overview.xml; \ |
| 266 |
fi |
264 |
# fi |
| 267 |
|
265 |
|
| 268 |
install-icc2ps: |
266 |
install-icc2ps: |
| 269 |
# |
267 |
# |
|
Lines 455-461
Link Here
|
| 455 |
ppd: |
453 |
ppd: |
| 456 |
./getweb ppd |
454 |
./getweb ppd |
| 457 |
|
455 |
|
| 458 |
MODEL=/usr/share/cups/model |
456 |
MODEL=$(PREFIX)/share/cups/model |
| 459 |
install-ppd: |
457 |
install-ppd: |
| 460 |
# |
458 |
# |
| 461 |
# Install PPD files for CUPS |
459 |
# Install PPD files for CUPS |
|
Lines 512-518
Link Here
|
| 512 |
install -c -m 644 README $(DOCDIR) |
510 |
install -c -m 644 README $(DOCDIR) |
| 513 |
install -c -m 644 ChangeLog $(DOCDIR) |
511 |
install -c -m 644 ChangeLog $(DOCDIR) |
| 514 |
|
512 |
|
| 515 |
GROFF=/usr/local/test/bin/groff |
|
|
| 516 |
GROFF=groff |
513 |
GROFF=groff |
| 517 |
manual.pdf: $(MANPAGES) |
514 |
manual.pdf: $(MANPAGES) |
| 518 |
-$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@ |
515 |
-$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@ |