~ubuntu-branches/ubuntu/trusty/foomatic-db-engine/trusty

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lawrence
  • Date: 2006-11-04 19:22:40 UTC
  • mfrom: (1.2.2 upstream) (2.1.5 dapper)
  • Revision ID: james.westby@ubuntu.com-20061104192240-4snmeqn5aslhhdzt
Tags: 3.0.2-20061031-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# Makefile to install foomatic-db-engine
3
 
# $Revision: 3.16.2.3 $
 
3
# $Revision$
4
4
 
5
5
# PREFIX defaults to /usr/local for manually installed progs, so that they
6
6
# are not messed up on a system upgrade.
86
86
CUPS_PPDS=@CUPS_PPDS@
87
87
CUPS_FILTERS=@CUPS_FILTERS@
88
88
CUPS_BACKENDS=@CUPS_BACKENDS@
 
89
LIB_CUPS=@LIB_CUPS@
 
90
CUPS_DRIVER=@LIB_CUPS@/driver
89
91
CUPS_PCONF=@CUPS_PCONF@
90
92
CUPS_LPR=@CUPS_LPR@
91
93
CUPS_LPQ=@CUPS_LPQ@
146
148
        foomatic-cleanupdrivers foomatic-getpjloptions \
147
149
        foomatic-addpjloptions foomatic-compiledb foomatic-fix-xml \
148
150
        foomatic-nonumericalids foomatic-replaceoldprinterids \
149
 
        foomatic-ppd-options foomatic-printermap-to-gimp-print-xml
 
151
        foomatic-ppd-options foomatic-printermap-to-gimp-print-xml \
 
152
        foomatic-extract-text
150
153
 
151
154
# User programs and helper programs
152
155
BINFILES:=foomatic-printjob foomatic-configure \
160
163
        foomatic-preferred-driver foomatic-fix-xml \
161
164
        foomatic-nonumericalids foomatic-replaceoldprinterids \
162
165
        foomatic-printermap-to-gimp-print-xml \
163
 
        foomatic-cleanupdrivers
 
166
        foomatic-cleanupdrivers foomatic-extract-text
164
167
 
165
168
# Foomatic XML templates
166
169
TEMPLATES:=pjl_enum_choice.xml pjl_enum_option.xml pjl_num_option.xml
200
203
#       Link to allow foomatic-ppdfile be called under the old name
201
204
#       foomatic-datafile
202
205
        ln -sf foomatic-ppdfile $(DESTDIR)$(BINDIR)/foomatic-datafile
 
206
#       Link foomatic-ppdfile to the CUPS 1.2 PPD generator directory,
 
207
#       so that the cups-driverd automatically generates Foomatic PPDs
 
208
#       on demand (/usr/lib/cups/driver).
 
209
        if [ -d $(LIB_CUPS) ]; then \
 
210
          ${SRC}/mkinstalldirs $(DESTDIR)$(CUPS_DRIVER); \
 
211
          ln -sf $(BINDIR)/foomatic-ppdfile $(DESTDIR)$(CUPS_DRIVER)/foomatic; \
 
212
        fi
203
213
 
204
214
install-man: check-config
205
215
        ${SRC}/mkinstalldirs $(DESTDIR)$(MANDIR)
225
235
foomatic-perl-data: foomatic-perl-data.c
226
236
        $(CC) $(CFLAGS) $(XML_CFLAGS) $(XML_LIBS) -o foomatic-perl-data foomatic-perl-data.c
227
237
 
228
 
man:
 
238
man: lib/Foomatic/Defaults.pm
229
239
        chmod a+rx ./makeMan
230
240
        ./makeMan
231
241