~ubuntu-branches/debian/experimental/cups-filters/experimental

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-07-22 18:57:32 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20120722185732-26kkte5p1lth3rt5
Tags: 1.0.20-0bzr1
* New upstream release
   - pdftops: Added another workaround for Kyocera printers: Some
     models get very slow on images which request interpolation,
     so now we remove the image interpolation requests by additional
     PostScript code only inserted for Kyocera printers (LP: #1026974).
   - Made the Poppler-based filters pdftopdf and pdftoopvp build with
     both Poppler 0.18.x and 0.20.x (Upstream bug #1055).
   - Fixes according to Coverity scan results (Upstream bug #1054).
   - Switched build system to autotools. This especially fixes several
     build problems in Gentoo. Also build-tested with CUPS 1.6.0b1.
   - Fixes for compatibility with clang/gcc-4.7.
   - textonly: Filter did not work as a pipe with copies=1 (Upstream bug
     #1032).
   - texttopdf: Avoid trimming the results of FcFontSort(), as this may
     miss some reasonable candidates under certain circumstances. BTW,
     fix passing a non-pointer as a pointer to "result" (Closes: #670055).
   - Corrected documentation. The option for the maximum image rendering
     resolution in pdftops is "pdftops-max-image-resolution", not
     "pdftops-max-image-resolution-default".
* debian/patches/fcfontsort-no-trim.patch: Removed, fixed upstream.
* debian/rules: Updated options for ./configure and make for the new autotools
  build system.
* debian/watch: Switched to bz2 upstream packages.
* debian/rules, debian/copyright, debian/cups-filters.docs: Updated for
  renamed documentation files.
* debian/control, debian/libfontembed1.install,
  debian/libfontembed-dev.install: Added new binary packages for libfontembed.
* debian/copyright: Updated for recent file additions, and rearrangement of
  directories.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# "$Id$"
3
 
#
4
 
#   Top-level Makefile for OpenPrinting CUPS Filters.
5
 
#
6
 
#   Copyright 2007-2011 by Apple Inc.
7
 
#   Copyright 1997-2007 by Easy Software Products, all rights reserved.
8
 
#
9
 
#   These coded instructions, statements, and computer programs are the
10
 
#   property of Apple Inc. and are protected by Federal copyright
11
 
#   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
12
 
#   which should have been included with this file.  If this file is
13
 
#   file is missing or damaged, see the license at "http://www.cups.org/".
14
 
#
15
 
 
16
 
include Makedefs
17
 
 
18
 
 
19
 
#
20
 
# Directories to make...
21
 
#
22
 
 
23
 
DIRS    =       cupsfilters backend filter pdftoopvp pdftopdf $(PHPDIR)
24
 
 
25
 
 
26
 
#
27
 
# Make all targets...
28
 
#
29
 
 
30
 
all:
31
 
        echo Using ALL_CFLAGS="$(ALL_CFLAGS)"
32
 
        echo Using CC="$(CC)"
33
 
        echo Using DSOFLAGS="$(DSOFLAGS)"
34
 
        echo Using LDFLAGS="$(LDFLAGS)"
35
 
        echo Using LIBS="$(LIBS)"
36
 
        for dir in $(DIRS); do\
37
 
                echo Making all in $$dir... ;\
38
 
                (cd $$dir ; $(MAKE) $(MFLAGS) all) || exit 1;\
39
 
        done
40
 
 
41
 
Makedefs:
42
 
        $(CURDIR)/configure
43
 
 
44
 
 
45
 
#
46
 
# Remove object and target files...
47
 
#
48
 
 
49
 
clean:
50
 
        for dir in $(DIRS); do\
51
 
                echo Cleaning in $$dir... ;\
52
 
                (cd $$dir; $(MAKE) $(MFLAGS) clean) || exit 1;\
53
 
        done
54
 
 
55
 
 
56
 
#
57
 
# Remove all non-distribution files...
58
 
#
59
 
 
60
 
distclean:      clean
61
 
        $(RM) Makedefs filter/pstopdf filter/texttops filter/imagetops
62
 
        $(RM) config.h config.log config.status
63
 
        $(RM) -f */*.bak
64
 
        -$(RM) -rf autom4te*.cache clang cupsfilters/test
65
 
 
66
 
 
67
 
#
68
 
# Remove all files not of the source repository
69
 
#
70
 
 
71
 
maintainer-clean:       distclean
72
 
        $(RM) -f configure aclocal.m4
73
 
 
74
 
 
75
 
#
76
 
# Make dependencies
77
 
#
78
 
 
79
 
depend:
80
 
        for dir in $(DIRS); do\
81
 
                echo Making dependencies in $$dir... ;\
82
 
                (cd $$dir; $(MAKE) $(MFLAGS) depend) || exit 1;\
83
 
        done
84
 
 
85
 
 
86
 
#
87
 
# Run the clang.llvm.org static code analysis tool on the C sources.
88
 
# (at least checker-231 is required for scan-build to work this way)
89
 
#
90
 
 
91
 
.PHONY: clang clang-changes
92
 
clang:
93
 
        $(RM) -r clang
94
 
        scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) clean all
95
 
clang-changes:
96
 
        scan-build -V -k -o `pwd`/clang $(MAKE) $(MFLAGS) all
97
 
 
98
 
 
99
 
#
100
 
# Generate a ctags file...
101
 
#
102
 
 
103
 
ctags:
104
 
        ctags -R .
105
 
 
106
 
 
107
 
#
108
 
# Install everything...
109
 
#
110
 
 
111
 
install:        install-data install-headers install-libs install-exec
112
 
 
113
 
 
114
 
#
115
 
# Install data files...
116
 
#
117
 
 
118
 
install-data:
119
 
        for dir in $(DIRS); do\
120
 
                echo Installing data files in $$dir... ;\
121
 
                (cd $$dir; $(MAKE) $(MFLAGS) install-data) || exit 1;\
122
 
        done
123
 
 
124
 
 
125
 
#
126
 
# Install header files...
127
 
#
128
 
 
129
 
install-headers:
130
 
        for dir in $(DIRS); do\
131
 
                echo Installing header files in $$dir... ;\
132
 
                (cd $$dir; $(MAKE) $(MFLAGS) install-headers) || exit 1;\
133
 
        done
134
 
 
135
 
 
136
 
#
137
 
# Install programs...
138
 
#
139
 
 
140
 
install-exec:   all
141
 
        for dir in $(DIRS); do\
142
 
                echo Installing programs in $$dir... ;\
143
 
                (cd $$dir; $(MAKE) $(MFLAGS) install-exec) || exit 1;\
144
 
        done
145
 
 
146
 
 
147
 
#
148
 
# Install libraries...
149
 
#
150
 
 
151
 
install-libs:   all
152
 
        for dir in $(DIRS); do\
153
 
                echo Installing libraries in $$dir... ;\
154
 
                (cd $$dir; $(MAKE) $(MFLAGS) install-libs) || exit 1;\
155
 
        done
156
 
 
157
 
 
158
 
#
159
 
# Uninstall object and target files...
160
 
#
161
 
 
162
 
uninstall:
163
 
        for dir in $(DIRS); do\
164
 
                echo Uninstalling in $$dir... ;\
165
 
                (cd $$dir; $(MAKE) $(MFLAGS) uninstall) || exit 1;\
166
 
        done
167
 
 
168
 
 
169
 
#
170
 
# Don't run top-level build targets in parallel...
171
 
#
172
 
 
173
 
.NOTPARALLEL:
174
 
 
175
 
 
176
 
#
177
 
# End of "$Id$".
178
 
#